Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Updating Scripted Wizard for wxWidgets-3.0.0
stahta01:
--- Quote from: MortenMacFly on January 19, 2014, 07:39:48 pm ---
--- Quote from: stahta01 on January 19, 2014, 08:16:31 am ---This patch fixes the Intro display screen (for CB Plugin Wizard) from being cut-off to soon.
--- End quote ---
You patched a wxSmith code portion. This is no good, or should at least also include the actual change to be done in the wxs file... :)
--- End quote ---
OK, will try to figure out wxSmith well enough to find out where to do the changes; or split the code off.
It depends on the reason this method "SetIntroText" exists in the class "InfoPanel".
It might is easier to redo/restructure the class to fix it instead of just changing the constant to zero.
As it is the method "SetIntroText" fails wxWidgets 3.0 looks like they fixed a 2.8 bug that causes it to fail.
Will likely be a few weeks for me to learn enough wxWidgets/wxSmith to find the correct place to fix it.
Just wish to verify "//(*Initialize(InfoPanel)" this comment is what says its a wxSmith issue, correct?
Tim S.
stahta01:
I have gotten the wxSmith file added to the CB Project.
Now, I have to figure out how to edit it.
@MortenMacFly: Can you verify this is the right way to add the file and its the right file to add?
Looks like, I did NOT need to add the .wxs file like the debug ones were. I just needed to find the correct wxSmith GUI to do the changes.
Tim S.
Figured out how to do the changes from http://wiki.codeblocks.org/index.php?title=Wxsmith_tutorial:_Working_with_items#wxPanel
--- Code: ---Index: src/wxsmith/InfoPanel.wxs
===================================================================
--- src/wxsmith/InfoPanel.wxs (revision 9582)
+++ src/wxsmith/InfoPanel.wxs (working copy)
@@ -6,7 +6,6 @@
<object class="sizeritem">
<object class="wxStaticText" name="ID_STATICTEXT1" variable="lblIntro" member="yes">
<label>Welcome to the new console application wizard!













</label>
- <style>wxST_NO_AUTORESIZE</style>
</object>
<flag>wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP</flag>
<border>8</border>
--- End code ---
Tim S.
Navigation
[0] Message Index
[*] Previous page
Go to full version