Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Modified & Improved wxWidgets Project Wizard
Biplab:
Thanks for the feedback. :D
I'll update it and post it.
Biplab:
Here is another update.
Features:
* Now it's possible to select wxFrame/wxDialog based without using GUI builder.
* wxFB will now handle Event handling of generated projects by default.
* Now wxDialog based apps have cute wxWidgets icon in the main dialog.
* Bugfix: Incomplete code generation when no GUI builder is selected.
Known Issues:
* Compilation will fail in Non-PCH+wxFB Mode. Please see the thread (http://forums.codeblocks.org/index.php?topic=4768.msg40916#msg40916) for solution.
@rjmyst3
Please check the new release once (in Windows and Linux) and provide your feedback and suggestions. :D
I'm proposing one solution for this annoying known bug. I'll revert the PCH header include of wxFB generated files to <wx/wxprec.h> untill you wrap it. For the remaining files this will not be used. Once you fix this issue, please inform me and I'll update the wizard. What's ur opinion? :)
Regards,
Biplab
[attachment deleted by admin]
rjmyst3:
--- Quote from: Biplab on February 23, 2007, 07:03:37 pm ---@rjmyst3
Please check the new release once (in Windows and Linux) and provide your feedback and suggestions. :D
--- End quote ---
Works great in Windows, I'll test in Linux tonight.
Good work on the event handling, that is much better.
I saw that you updated the title in wxFB, however, App.cpp sets it again in this line:
--- Code: ---Dialog* dlg = new Dialog(0L, _("wxWidgets Application Template"));
--- End code ---
This code will always override what wxFB generates, so the user still cannot change the title in wxFB.
The constructor for the class should probably just take a parent parameter, like this:
Main.h
--- Code: ---Dialog( wxDialog *dlg );
--- End code ---
Main.cpp
--- Code: ---Dialog::Dialog(wxDialog *dlg)
: GUIDialog(dlg)
{
}
--- End code ---
It is the same for Frame.
--- Quote from: Biplab on February 23, 2007, 07:03:37 pm ---I'm proposing one solution for this annoying known bug. I'll revert the PCH header include of wxFB generated files to <wx/wxprec.h> untill you wrap it. For the remaining files this will not be used. Once you fix this issue, please inform me and I'll update the wizard. What's ur opinion? :)
--- End quote ---
That should work. I have approval from one of the devs to wrap it, I'm still waiting for the other's opinion. I hope to have it resolved this weekend.
Overall, excellent work. This is very exciting for me! :)
Biplab:
Thanks for the quick feedback. :D
--- Quote from: rjmyst3 on February 23, 2007, 07:51:19 pm ---I saw that you updated the title in wxFB, however, App.cpp sets it again in this line:
--- Code: ---Dialog* dlg = new Dialog(0L, _("wxWidgets Application Template"));
--- End code ---
This code will always override what wxFB generates, so the user still cannot change the title in wxFB.
--- End quote ---
I forgot that somehow. This issue has been resolved. Latest revision is attached. :)
--- Quote from: rjmyst3 on February 23, 2007, 07:51:19 pm ---That should work. I have approval from one of the devs to wrap it, I'm still waiting for the other's opinion. I hope to have it resolved this weekend.
--- End quote ---
If that change breaks other or deviates from the development plan that wxFB team have adopted, then you may wish to provide it as an add-on. Means, by default wxFB will remain same but if user wishes then wxFB will wrap it. I don't want to be too demanding. :D
If everything is ok, then I'm planning to put it in main repository this weekend.
Regards,
Biplab
[attachment deleted by admin]
rjmyst3:
I tested the wxFB portion of the wizard on Linux - it works perfectly, minus pch support of course. I confirm that the title bug is fixed.
I'm very happy with it.
Two thumbs up :D
--- Quote from: Biplab on February 23, 2007, 08:54:26 pm ---If that change breaks other or deviates from the development plan that wxFB team have adopted, then you may wish to provide it as an add-on. Means, by default wxFB will remain same but if user wishes then wxFB will wrap it. I don't want to be too demanding. :D
--- End quote ---
This issue will be resolved in some way this weekend.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version