]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sockets/client.cpp
rename wxFileList to wxFileListCtrl
[wxWidgets.git] / samples / sockets / client.cpp
index eebb8a06d718fc015db2ac37768f72de720e8585..1536ecef8adb32a3107774f53c5ffafcb900a34c 100644 (file)
@@ -154,6 +154,9 @@ IMPLEMENT_APP(MyApp)
 
 bool MyApp::OnInit()
 {
+  if ( !wxApp::OnInit() )
+      return false;
+
   // Create the main application window
   MyFrame *frame = new MyFrame();