I'm trying to integrate my application with wxWidgets.  I have the
osgviewerWX example working.  When I create a wxLogWindow to provide a
console equivalent, the log window works, but the application doesn't
close properly (get a wxWidgets assert when closing the main frame).
 
Existing code:
 
  // Create the main frame window
  MainFrame *frame = new MainFrame(NULL, wxT("wxWidgets 17apr2008A"),
        wxDefaultPosition, wxDefaultSize);
 
New code added after above line:
 
  wxLogWindow* logWindow = new wxLogWindow(NULL, wxT("Log Window"),
true,
     true);
  logWindow->Show(true);
  wxLogMessage("This is a log window" );
 
Any ideas on how to get the application to shut down properly?
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to