]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sockets/server.cpp
added wxUniChar::AsUTF8() for easy conversion in UTF8 build
[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();