X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b6dbb09746f8f5ee0549a2ff39ae0ac4c725898..c23894955325535bf603be74a3c0dc8d3fce65ab:/include/wx/motif/app.h diff --git a/include/wx/motif/app.h b/include/wx/motif/app.h index 1c7035aa08..5cbe5267fa 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; @@ -138,6 +146,7 @@ public: 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 +163,7 @@ protected: WXAppContext m_appContext; WXWidget m_topLevelWidget; WXColormap m_mainColormap; + WXDisplay* m_initialDisplay; long m_maxRequestSize; DECLARE_EVENT_TABLE()