]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/app.h
It was not acceptable to call the class method from the static initializer
[wxWidgets.git] / include / wx / motif / app.h
index 95c087af986c550a7e8b8add6a3d02cff771e641..246cb618faf21587d49c2cb21ca40259730e10ac 100644 (file)
@@ -55,8 +55,12 @@ public:
     virtual bool Initialized();
     virtual bool Pending();
     virtual void Dispatch();
+
+    virtual void Exit();
+
     virtual bool Yield(bool onlyIfNeeded = FALSE);
     virtual bool ProcessIdle();
+    virtual void WakeUpIdle(); // implemented in motif/evtloop.cpp
     
     virtual bool OnInitGui();
     
@@ -78,10 +82,8 @@ protected:
     
 public:
     // Implementation
-    static bool Initialize();
-    static void CleanUp();
-    
-    void DeletePendingObjects();
+    virtual bool Initialize(int& argc, wxChar **argv);
+    virtual void CleanUp();
     
     // Motif-specific
     WXAppContext   GetAppContext() const { return m_appContext; }
@@ -108,8 +110,6 @@ private:
     DECLARE_EVENT_TABLE()
 };
 
-int WXDLLEXPORT wxEntry( int argc, char *argv[] );
-
 #endif
 // _WX_APP_H_