]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mobile/wxedit/wxedit.cpp
don't use deprecated toolbar API
[wxWidgets.git] / samples / mobile / wxedit / wxedit.cpp
index 73a259c9ed9c376d56f21c138504c7e209149c05..b6043f9e66954eb4021275e8498bbc373c56ae2c 100644 (file)
@@ -404,6 +404,9 @@ IMPLEMENT_APP(MyApp)
 
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     SetVendorName(_T("Free world"));
     SetAppName(_T("wxEdit"));