]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sockets/server.cpp
Resynch with 2.8 changes (realized I don't need __WX_COMPILING_COCOA_MSGDLG_MM__)
[wxWidgets.git] / samples / sockets / server.cpp
index 2702c113c45d75b3a63384b67ea066f02b847dce..0e2be5b7dce110cb55169c3e68ce799dcaa09c83 100644 (file)
@@ -123,6 +123,9 @@ IMPLEMENT_APP(MyApp)
 
 bool MyApp::OnInit()
 {
+  if ( !wxApp::OnInit() )
+      return false;
+
   // Create the main application window
   MyFrame *frame = new MyFrame();