Bugs in wxCrafter-1.0.802aa45

Post here wxCrafter related issues / features / bugs
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Bugs in wxCrafter-1.0.802aa45

Post by frank_frl » Thu Jan 31, 2013 10:26 pm

Hi Eran,

first of all 'really great work done'.

I found some bugs in wxCrafter I want to report.
Windows7 64; Codelite 5.0.6213; wxCrafter-1.0.802aa45

A wxRadioBox can not be selected in GUI of the designer, only in the tree.
wxStaticText not shown centered in preview with flag wxALIGN_CENTER. Left and right are working.
When I enter a own ID for a control, it is not added to wxCrafter.h

What I miss is a way to set show/hide and enabled/disabled for a control in wxCrafter.

Best regards

Frank

User avatar
eranif
CodeLite Plugin
Posts: 5942
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Bugs in wxCrafter-1.0.802aa45

Post by eranif » Fri Feb 01, 2013 12:26 am

frank_frl wrote:A wxRadioBox can not be selected in GUI of the designer, only in the tree
Some controls are tricky and do not allow me to capture the 'click' event - I will look into it. BTW, you can report these bugs at SF as well
frank_frl wrote:wxStaticText not shown centered in preview with flag wxALIGN_CENTER. Left and right are working.
Confirmed and fixed. Its seems that the XRC handler for the wxStaticText only accepts the English version of 'wxALIGN_CENTER', i.e. 'wxALIGN_CENTRE' ... (even though their numeric value is identical)
Note that the in the actual code (generated C++) - its working as expected.
frank_frl wrote:When I enter a own ID for a control, it is not added to wxCrafter.h
It was never meant to be added in wxCrafter.h

If you want to add custom IDs you have several options:
  • You can use any string you want, wxCrafter will wrap it with XRCID("MyID")
  • Add all your custom IDs in a file and then select the root item of the tree-view and simply add that file name to the property 'Additional Include Files'
1.png
2.png
Eran
frank_frl wrote:What I miss is a way to set show/hide and enabled/disabled for a control in wxCrafter
Please submit this as feature request at SF, until I will setup a different bug tracker

Eran
You do not have the required permissions to view the files attached to this post.
Make sure you have read the HOW TO POST thread

User avatar
eranif
CodeLite Plugin
Posts: 5942
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Bugs in wxCrafter-1.0.802aa45

Post by eranif » Fri Feb 01, 2013 2:03 am

eranif wrote:frank_frl wrote:
A wxRadioBox can not be selected in GUI of the designer, only in the tree

Some controls are tricky and do not allow me to capture the 'click' event - I will look into it. BTW, you can report these bugs at SF as well
This should also be fixed now ( in git at least )

Eran
Make sure you have read the HOW TO POST thread

Post Reply