virtual bool Initialized();
virtual bool Pending();
virtual void Dispatch();
+
+ virtual void Exit();
+
virtual bool Yield(bool onlyIfNeeded = FALSE);
- virtual bool ProcessIdle();
+ virtual void WakeUpIdle();
virtual bool OnInitGui();
// implementation from now on
// --------------------------
- void OnIdle(wxIdleEvent& event);
-
- // Send idle event to all top-level windows.
- // Returns TRUE if more idle time is requested.
- bool SendIdleEvents();
-
- // Send idle event to window and all subwindows
- // Returns TRUE if more idle time is requested.
- bool SendIdleEvents(wxWindow* win);
-
// Processes an X event.
virtual bool ProcessXEvent(WXEvent* event);
public:
// Implementation
- static bool Initialize();
- static void CleanUp();
-
- void DeletePendingObjects();
+ virtual bool Initialize(int& argc, wxChar **argv);
+ virtual void CleanUp();
WXWindow GetTopLevelWidget() const { return m_topLevelWidget; }
WXColormap GetMainColormap(WXDisplay* display);
DECLARE_EVENT_TABLE()
};
-int WXDLLEXPORT wxEntry( int argc, char *argv[] );
-
-#endif
-// _WX_APP_H_
+#endif // _WX_APP_H_