Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
wxSmith isues
BlueHazzard:
Thank you.
This is for sure a wxWidgets issue. The code generated works fine, but is not the right code you want to... I am no wxWidgets expert, i tried a bit to look at the examples but did not find any obvious... What version of wxWidgets do you use?
oBFusCATed:
I don't think you would have great success using wxWidgets without sizers.
wxSmith is made around the idea of sizers, so even if there is support for the sizerless ui it is rarely tested or fixed/improved.
To find what is going on you need to manually make a sample code that works and then compare it with the auto generated from wxSmith to see where the difference is.
Then we could probably see if wxSmith could be made to generate such code.
But please consider the sizer idea - users of your application will be thanking you for this also.
gtafan:
--- Quote from: BlueHazzard on February 01, 2018, 05:30:40 pm ---Thank you.
This is for sure a wxWidgets issue. The code generated works fine, but is not the right code you want to... I am no wxWidgets expert, i tried a bit to look at the examples but did not find any obvious... What version of wxWidgets do you use?
--- End quote ---
My fault, never noticed this problem with wxDev, so thought it's wxSmith problem.
gtafan:
--- Quote from: oBFusCATed on February 01, 2018, 08:43:44 pm ---I don't think you would have great success using wxWidgets without sizers.
wxSmith is made around the idea of sizers, so even if there is support for the sizerless ui it is rarely tested or fixed/improved.
To find what is going on you need to manually make a sample code that works and then compare it with the auto generated from wxSmith to see where the difference is.
Then we could probably see if wxSmith could be made to generate such code.
But please consider the sizer idea - users of your application will be thanking you for this also.
--- End quote ---
I am familiar with sizer idea, since Java is my prefered programing language. Unfortunately the sizers are not as powerfull as their conterparts in Java, for example FlowSizer and CardSizer are completly mising. Also it's not always posible to place widbets exactly where you want with sizers.
An other thing is that GridBagSizer is not working, which seems to be wxWidget bugg.
BlueHazzard:
--- Quote ---An other thing is that GridBagSizer is not working, which seems to be wxWidget bug
--- End quote ---
i doubt that... Can you describe more? I still don't know what wxWidgets version you are using
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version