X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ee31c392ac73dcd67fb25ac368e2ffb7d4c9c0e7..77436c4cbac2269e564dc4fcf4494a58feca0af4:/include/wx/motif/app.h diff --git a/include/wx/motif/app.h b/include/wx/motif/app.h index 7787929380..f262298f2f 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,8 @@ public: virtual int MainLoop(); virtual void ExitMainLoop(); virtual bool Initialized(); - virtual bool Pending() ; - virtual void Dispatch() ; + virtual bool Pending(); + virtual void Dispatch(); virtual bool OnInitGui(); @@ -82,6 +82,9 @@ public: // Returns TRUE if a key down event has been processed virtual bool CheckForKeyDown(WXEvent* event); + // Returns TRUE if a key up event has been processed + virtual bool CheckForKeyUp(WXEvent* event); + protected: bool m_showOnInit; @@ -92,14 +95,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; } @@ -111,7 +111,7 @@ public: int m_nCmdShow; protected: - bool m_keepGoing ; + bool m_keepGoing; // Motif-specific WXAppContext m_appContext;