Page 1 of 1

Bugs in wxCrafter-1.0.802aa45

Posted: Thu Jan 31, 2013 10:26 pm
by frank_frl
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

Re: Bugs in wxCrafter-1.0.802aa45

Posted: Fri Feb 01, 2013 12:26 am
by eranif
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

Re: Bugs in wxCrafter-1.0.802aa45

Posted: Fri Feb 01, 2013 2:03 am
by eranif
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