X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9482617091b084d4ee006679a450176715d465e0..e21011866e9a89b5abda727f80e666ed2d7041c7:/include/wx/x11/app.h diff --git a/include/wx/x11/app.h b/include/wx/x11/app.h index d8d709a77a..fb7e97cffc 100644 --- a/include/wx/x11/app.h +++ b/include/wx/x11/app.h @@ -12,7 +12,7 @@ #ifndef _WX_APP_H_ #define _WX_APP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "app.h" #endif @@ -59,7 +59,6 @@ public: virtual void Exit(); virtual bool Yield(bool onlyIfNeeded = FALSE); - virtual bool ProcessIdle(); virtual void WakeUpIdle(); virtual bool OnInitGui(); @@ -67,16 +66,6 @@ public: // 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); @@ -89,11 +78,9 @@ protected: public: // Implementation - virtual bool Initialize(); + virtual bool Initialize(int& argc, wxChar **argv); virtual void CleanUp(); - void DeletePendingObjects(); - WXWindow GetTopLevelWidget() const { return m_topLevelWidget; } WXColormap GetMainColormap(WXDisplay* display); long GetMaxRequestSize() const { return m_maxRequestSize; } @@ -144,8 +131,5 @@ protected: DECLARE_EVENT_TABLE() }; -int WXDLLEXPORT wxEntry( int argc, char *argv[] ); - -#endif -// _WX_APP_H_ +#endif // _WX_APP_H_