]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/ipc/client.cpp
added char_str() and wchar_str() methods to wxString for obtaining char*/wchar_t...
[wxWidgets.git] / samples / ipc / client.cpp
index 09ec3059fae607d60a874e9eb7633e13583fa0aa..9141746c4afd46aa2349d350da8585d225d704b2 100644 (file)
@@ -76,6 +76,9 @@ END_EVENT_TABLE()
 // main frame
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     // Create the main frame window
     m_frame = new MyFrame(NULL, _T("Client"));
     m_frame->Show(true);