wxCodeGen
BlitzMax Forums/Brucey's Modules/wxCodeGen
| ||
What do I wrong when this happens: wxFormBuilder: wxCodeGen Output: Is there something wrong in my layout - or are there any limitations in exporting to bmax? |
| ||
Something isn't quite right there, is it? |
| ||
sorry, was a wrong basedir on my webspace ;) |
| ||
Okay.. the toolbar generator isn't working properly. It is adding controls to the wrong parent, and missing out another method call. I'll have a look at it now. |
| ||
thanks a lot :) |
| ||
I've updated SVN with the latest wxCodeGen. |
| ||
Hi, thank you for the adaption - I think there happened something to the Separator-Control: I have to comment out the .AddControl() Methodcall after the .AddSeparator() to get it working. But another question: How to I get rid off the space between the MenuBar and the ToolBar? Is there something wrong how I used the Sizer? |
| ||
m_toolBar1.AddSeparator() 'm_toolBar1.AddControl() Oh.. I didn't notice that in my test.. silly. How to I get rid off the space between the MenuBar and the ToolBar? I'm not sure. I'll need to compare the output of wxCodeGen and the C++... I'll get back to you. |
| ||
I think I found my mistake - I may not drag the toolbar as a child to the Sizer. It has to be directly at the main window. |
| ||
I may not drag the toolbar as a child to the Sizer. It has to be directly at the main window. Actually, you can do either. There was a bug in the generator which incorrectly attached the toolbar to the frame, instead of the sizer. Which I've fixed now. (hopefully) |
| ||
thank you, everything works now fine - even the toolbar inside the sizer :) |