]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/ownerdrw/ownerdrw.cpp
Mention wxURLDataObject some more
[wxWidgets.git] / samples / ownerdrw / ownerdrw.cpp
index 3446f71c14b058938eb111d6db9b2b9fd976b981..de9d8f4cdee3f601e8eb034296639c817f049797 100644 (file)
@@ -88,6 +88,9 @@ IMPLEMENT_APP(OwnerDrawnApp)
 // init our app: create windows
 bool OwnerDrawnApp::OnInit(void)
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     OwnerDrawnFrame *pFrame
         = new OwnerDrawnFrame(NULL, _T("wxWidgets Ownerdraw Sample"),
                               50, 50, 450, 340);