I am trying to use xml resources and sizers under wince. It doesn't seem to work. What 's the status of these features on this platform?
Code: Select all
IMPLEMENT_APP(MainApp)
bool MainApp::OnInit()
{
// Now start our applicationDlg
wxImage::AddHandler(new wxXPMHandler);
wxXmlResource::Get()->InitAllHandlers();
// Load all of the XRC files that will be used. You can put everything
if (!wxXmlResource::Get()->Load(wxT("\\ApplicationDlg.xrc")) ){
return OnExit();
}
CApplicationDlg dlg(NULL);
dlg.ShowModal();
}
Can someone confirm this, please ?
I just need to know if we can display a simple wxDialog on wince platforms.
FOR INFORMATION, TO COMPILE WXWIDGET FOR WINCE with VS2005 YOU NEED TO
COMMENT #pragma comment(lib,"ccrtrtti.lib")L34 in include/wx/mws/wince/libraries.
Indeed ccrtrtti doesn't exist anymore and ir natively replaced in another lib