X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2e04ea4a7f5ee257c46d2dc0eb1bd5eb7ecd852..b1d66b5415f7befb45e050d7097571642b8bfa56:/include/wx/motif/app.h diff --git a/include/wx/motif/app.h b/include/wx/motif/app.h index 855a8267da..092e6515a7 100644 --- a/include/wx/motif/app.h +++ b/include/wx/motif/app.h @@ -29,7 +29,7 @@ class WXDLLEXPORT wxFrame; class WXDLLEXPORT wxWindow; -class WXDLLEXPORT wxApp ; +class WXDLLEXPORT wxApp; class WXDLLEXPORT wxKeyEvent; class WXDLLEXPORT wxLog; @@ -51,8 +51,9 @@ public: virtual int MainLoop(); virtual void ExitMainLoop(); virtual bool Initialized(); - virtual bool Pending() ; - virtual void Dispatch() ; + virtual bool Pending(); + virtual void Dispatch(); + virtual bool Yield(bool onlyIfNeeded = FALSE); virtual bool OnInitGui(); @@ -95,14 +96,11 @@ public: void DeletePendingObjects(); bool ProcessIdle(); -#if wxUSE_THREADS - void ProcessPendingEvents(); -#endif // Motif-specific WXAppContext GetAppContext() const { return m_appContext; } WXWidget GetTopLevelWidget() const { return m_topLevelWidget; } - WXColormap GetMainColormap(WXDisplay* display) ; + WXColormap GetMainColormap(WXDisplay* display); WXDisplay* GetInitialDisplay() const { return m_initialDisplay; } long GetMaxRequestSize() const { return m_maxRequestSize; } @@ -114,7 +112,7 @@ public: int m_nCmdShow; protected: - bool m_keepGoing ; + bool m_keepGoing; // Motif-specific WXAppContext m_appContext;