I've a small application loading the menu from a XML resource file.
It does following:
in myApp::OnInit(): (derived from wxApp) wxXmlResource::Get()->InitAllHandlers(); wxXmlResource::Get()->Load("menu.xrc")); // works fine the file will be found
in myFrame::myFrame(): (derived from wxFrame) wxMenuBar* menuBar = wxXmlResource::Get()->LoadMenuBar("menu");
It works find unter LINUX, but I have some trouble under XP. It loads the menu, the user can work with it. But at termination the application windows disappear but the application is still running. (can be seen in the task manager)
Has anyone an simple example works unter XP? Or some ideas?