I'm new to wxwidgets + wxsmith + C::B and I'm already getting adapted the this environment. From my very first test and searches it seems like a solid development pack.
I've created a testing project having a single frame and I get, among others, these files:
testApp.cpp
testFrame.cpp
test.wxs
It compiles and runs nicely but I have some doubts about testApp.cpp. I see testApp.cpp initializes my frame like this:
Code: Select all
bool testApp::OnInit()
{
//(*AppInitialize
bool wxsOK = true;
wxInitAllImageHandlers();
if ( wxsOK )
{
testFrame* Frame = new testFrame(0);
Frame->Show();
SetTopWindow(Frame);
}
//*)
return wxsOK;
}
I'm pretty sure I'm missing something essential. I've tried to find some info on the wikis and tutorials but I'm miserably failing at get the right information. There's a lot of documentation and examples but most of these are based of coding from scratch, not using wxsmith.
A secondary questions is about wxsmith 'commented' code in the source. This way to insert code is new to me. When is it interpreted, at compile or pre-processing time?.
I'm sorry for the long post and I'm thankful you for your help in advance.
Thank you.