Hello all,
I'm trying to use Code::Blocks to develop a wxWidgets app using wxFormBuilder. I have created a new project in Code::Blocks and selected wxFormBuilder as the preferred GUI builder, this creates a file called WxWizFrame.fbp which opens in form builder. Form builder upgrades this file and I can edit the form as expected.
The problem I have is that the only ways I can find to get the generated code back into code::blocks seem rather effort intensive and I suspect that there must be an easier, more automatic way. I've googled and haven't shown anything up. The process I use at present is as follows:
- After making form changes, autogenerate code and generate the inherited class
- Open the inherited class definition and copy the new functions across to filenameMain.h
- Open the file containing the inherited class and copy any new functions into the filenameMain.cpp
- Add code to the functions to make them work
I can't shake the feeling that I should be able to remove the middle two steps and I've tried changing the name of the generated file, the name of the frame and the name of the generated class to more closely match the ones used by Code::blocks when it creates the project but I can't seem to hit on a combination that works.
Can anybody suggest a better method to me? Sorry if this isn't the right forum to ask this question.
Thanks in advance
Phil