[WINCE] : Supported features, FEEDBACK

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
romeo9423
Experienced Solver
Experienced Solver
Posts: 72
Joined: Mon Nov 08, 2004 3:36 pm

[WINCE] : Supported features, FEEDBACK

Post by romeo9423 »

Hi,

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();
}
Update : Actually I was able to display a wxFrame based on XML resources. However wxDialog is not displayed (normal way or XML based)
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
Post Reply