X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9482617091b084d4ee006679a450176715d465e0..b8be6ceacfa3ffb8304559d28e759c7b5613ec15:/include/wx/os2/app.h diff --git a/include/wx/os2/app.h b/include/wx/os2/app.h index 915e1a1267..c7cc54efbc 100644 --- a/include/wx/os2/app.h +++ b/include/wx/os2/app.h @@ -75,12 +75,11 @@ public: virtual void ExitMainLoop(void); virtual bool Initialized(void); virtual bool Pending(void) ; - virtual void Dispatch(void); + virtual bool Dispatch(void); virtual void Exit(); virtual bool Yield(bool onlyIfNeeded = FALSE); - virtual bool ProcessIdle(void); virtual void WakeUpIdle(void); virtual void SetPrintMode(int mode) { m_nPrintMode = mode; } @@ -91,17 +90,6 @@ public: void OnEndSession(wxCloseEvent& rEvent); void OnQueryEndSession(wxCloseEvent& rEvent); - // Send idle event to all top-level windows. - // Returns TRUE if more idle time is requested. - bool SendIdleEvents(void); - - // Send idle event to window and all subwindows - // Returns TRUE if more idle time is requested. - bool SendIdleEvents(wxWindow* pWin); - - void SetAuto3D(bool bFlag) { m_bAuto3D = bFlag; } - bool GetAuto3D(void) const { return m_bAuto3D; } - int AddSocketHandler(int handle, int mask, void (*callback)(void*), void * gsock); void RemoveSocketHandler(int handle); @@ -110,7 +98,6 @@ public: protected: bool m_bShowOnInit; int m_nPrintMode; // wxPRINT_WINDOWS, wxPRINT_POSTSCRIPT - bool m_bAuto3D ; // Always use 3D controls, except where overriden // // PM-specific wxApp definitions */ @@ -126,7 +113,7 @@ private: public: // Implementation - virtual bool Initialize(int argc, wxChar **argv); + virtual bool Initialize(int& argc, wxChar **argv); virtual void CleanUp(void); static bool RegisterWindowClasses(HAB vHab); @@ -143,8 +130,6 @@ protected: DECLARE_EVENT_TABLE() }; - -int WXDLLEXPORT wxEntry( int argc, char *argv[] ); #endif // _WX_APP_H_