Hi !
I'm trying to use WxSmith to make frame, but the main frame is not a wxFrame object but wxDocParentFrame.
The code that is generate is :
//(*AppInitialize
bool wxsOK = true;
wxInitAllImageHandlers();
wxXmlResource::Get()->InitAllHandlers();
wxsOK = wxsOK && wxXmlResource::Get()->Load(_T("TTGestMainFrame.xrc"));
if ( wxsOK )
{
TTGestMainFrame* Frame = new TTGestMainFrame(0);
Frame->Show();
SetTopWindow(Frame);
}
//*)
But this code is not compatible with wxDocParentFrame, it should be :
wxDocParentFramepFrame = new wxDocParentFrame(&m_DocManager, NULL);
Any idea to make wxSmith work with this kind of window ?
Strange, I see few peaple that work with document/view architecture.