]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialup/nettest.cpp
also use AddProcessCallback() and GetSocketManager() under Darwin
[wxWidgets.git] / samples / dialup / nettest.cpp
index f69bcabd277610909c841523086d284c5c4e0b8f..0ad2bd433035546fd17bd696a6d2662dd738c3d9 100644 (file)
@@ -150,6 +150,9 @@ IMPLEMENT_APP(MyApp)
 // `Main program' equivalent: the program execution "starts" here
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     // Create the main application window
     MyFrame *frame = new MyFrame(_T("Dial-up wxWidgets demo"),
                                  wxPoint(50, 50), wxSize(450, 340));