X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b886fae6484edbb3a2fdbe8be74b3a840e9c84ee..32cdc45397d8c0a24735f84e1dcf83bba1980f2d:/include/wx/x11/app.h?ds=sidebyside diff --git a/include/wx/x11/app.h b/include/wx/x11/app.h index b78e4abae9..3d669c5b86 100644 --- a/include/wx/x11/app.h +++ b/include/wx/x11/app.h @@ -23,18 +23,18 @@ // forward declarations // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxFrame; -class WXDLLEXPORT wxWindow; -class WXDLLEXPORT wxApp; -class WXDLLEXPORT wxKeyEvent; -class WXDLLEXPORT wxLog; -class WXDLLEXPORT wxXVisualInfo; +class WXDLLIMPEXP_FWD_CORE wxFrame; +class WXDLLIMPEXP_FWD_CORE wxWindow; +class WXDLLIMPEXP_FWD_CORE wxApp; +class WXDLLIMPEXP_FWD_CORE wxKeyEvent; +class WXDLLIMPEXP_FWD_BASE wxLog; +class WXDLLIMPEXP_FWD_CORE wxXVisualInfo; // ---------------------------------------------------------------------------- // the wxApp class for wxX11 - see wxAppBase for more details // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxApp : public wxAppBase +class WXDLLIMPEXP_CORE wxApp : public wxAppBase { public: wxApp(); @@ -45,7 +45,6 @@ public: virtual void Exit(); - virtual bool Yield(bool onlyIfNeeded = FALSE); virtual void WakeUpIdle(); virtual bool OnInitGui(); @@ -56,10 +55,6 @@ public: // Processes an X event. virtual bool ProcessXEvent(WXEvent* event); -#ifdef __WXDEBUG__ - virtual void OnAssert(const wxChar *file, int line, const wxChar* cond, const wxChar *msg); -#endif // __WXDEBUG__ - public: // Implementation virtual bool Initialize(int& argc, wxChar **argv); @@ -84,7 +79,7 @@ public: PangoContext* GetPangoContext(); #endif - wxXVisualInfo* GetVisualInfo(WXDisplay* display) + wxXVisualInfo* GetVisualInfo(WXDisplay* WXUNUSED(display)) { // this should be implemented correctly for wxBitmap to work // with multiple display @@ -106,7 +101,6 @@ protected: long m_maxRequestSize; DECLARE_DYNAMIC_CLASS(wxApp) - DECLARE_EVENT_TABLE() }; #endif // _WX_X11_APP_H_