Code generation with CL+wxFB
Posted: Tue Oct 26, 2010 12:40 am
Hi
I am trying out CL and wxFB. Using Ubuntu 9.10 (karmic), CL ver 2.7.0.4375 and wxFB ver 3.1.70(Unicode).
I have a problem with the Code Generation of CL.
Here is what I have tried and was unsuccessful:
I am trying out CL and wxFB. Using Ubuntu 9.10 (karmic), CL ver 2.7.0.4375 and wxFB ver 3.1.70(Unicode).
I have a problem with the Code Generation of CL.
Here is what I have tried and was unsuccessful:
- I use the CL Wizard to create a new wxFB Dialog project by right clicking the Workspace->Create New Project option.
I then check that the project created compiles and runs with no errors and that is working correctly. CL generates a few files such as gui.fbp, main.cpp/h and gui.cpp/h.
I then open the wxFB file "gui.fbp" that CL wizard creates and then add a wxSpinCtrl item to the gui.
I hit F8 to generate a new base class and then recompile my code in CL and make sure that the new wxSpinCtrl is showing up correctly and that works with no errors.
In wxFB I select the wxSpinCtrl item and then add "OnSpin1" to the event tab under "OnSpinCtrl" and then hit F8 to regenerate the base class and once again check that everything compiles correctly.
In CL, I select the file "main.h" and then right click and select Code Generation/Refactoring->Implement Inherited virtual Functions... it does not do anything and no changes to the files "main.h" or "main.cpp" occur.
I have tested the other options "Implement Inherited pure virtual Functions..." and "Implement all Un-implemented Functions..." and "Add Function implementation..." and none of them change any of the files or show any changes that may be made.