]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/app.h
Patch #826420, and also adapted to new SWIG
[wxWidgets.git] / include / wx / app.h
index 7c2b61c4e30b459f212bc414c1c14833948a51d1..f172a41422c536684bf72a25c586736cf6b3ad3a 100644 (file)
@@ -380,10 +380,6 @@ public:
         // stop the program immediately!)
     virtual void ExitMainLoop();
 
-        // returns true if the program is initialized, i.e. OnInit() has been
-        // completed successfully
-    virtual bool Initialized() = 0;
-
         // returns TRUE if there are unprocessed events in the event queue
     virtual bool Pending();
 
@@ -491,6 +487,11 @@ public:
     // deactivated
     virtual void SetActive(bool isActive, wxWindow *lastFocus);
 
+    // OBSOLETE: don't use, always returns true
+    //
+    // returns true if the program is successfully initialized
+    bool Initialized() { return true; }
+
 
 protected:
     // delete all objects in wxPendingDelete list