X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b6dbb09746f8f5ee0549a2ff39ae0ac4c725898..f803d8644d9831104edc0f6be08d7cb6496cf030:/include/wx/motif/app.h?ds=sidebyside diff --git a/include/wx/motif/app.h b/include/wx/motif/app.h index 1c7035aa08..2b24418913 100644 --- a/include/wx/motif/app.h +++ b/include/wx/motif/app.h @@ -107,6 +107,14 @@ class WXDLLEXPORT wxApp: public wxEvtHandler // Creates a log object virtual wxLog* CreateLogTarget(); +// Motif implementation. + + // Processes an X event. + virtual void ProcessXEvent(WXEvent* event); + + // Returns TRUE if an accelerator has been processed + virtual bool CheckForAccelerator(WXEvent* event); + public: // Will always be set to the appropriate, main-style values. int argc; @@ -133,11 +141,15 @@ public: void DeletePendingObjects(); bool ProcessIdle(); +#if wxUSE_THREADS + void ProcessPendingEvents(); +#endif // Motif-specific inline WXAppContext GetAppContext() const { return m_appContext; } inline WXWidget GetTopLevelWidget() const { return m_topLevelWidget; } WXColormap GetMainColormap(WXDisplay* display) ; + WXDisplay* GetInitialDisplay() const { return m_initialDisplay; } inline long GetMaxRequestSize() const { return m_maxRequestSize; } // This handler is called when a property change event occurs @@ -154,6 +166,7 @@ protected: WXAppContext m_appContext; WXWidget m_topLevelWidget; WXColormap m_mainColormap; + WXDisplay* m_initialDisplay; long m_maxRequestSize; DECLARE_EVENT_TABLE()