X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1abca322fd7a9a7abe6cc0b144987786faa0f05..ba4d737a9ec66377cb4a3b4224aacca8c894bbc1:/include/wx/gtk/app.h?ds=sidebyside diff --git a/include/wx/gtk/app.h b/include/wx/gtk/app.h index aa63278eeb..ce6da5421e 100644 --- a/include/wx/gtk/app.h +++ b/include/wx/gtk/app.h @@ -15,9 +15,13 @@ //----------------------------------------------------------------------------- #if wxUSE_THREADS -class WXDLLIMPEXP_BASE wxMutex; +class WXDLLIMPEXP_FWD_BASE wxMutex; #endif +#if wxUSE_LIBHILDON +typedef struct _HildonProgram HildonProgram; +#endif // wxUSE_LIBHILDON + //----------------------------------------------------------------------------- // wxApp //----------------------------------------------------------------------------- @@ -32,6 +36,7 @@ public: * (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by * default. when overriding this method, the code in it is likely to be * platform dependent, otherwise use OnInit(). */ + virtual bool SetNativeTheme(const wxString& theme); virtual bool OnInitGui(); // override base class (pure) virtuals @@ -58,6 +63,10 @@ public: // must return XVisualInfo pointer (it is not freed by caller) virtual void *GetXVisualInfo() { return NULL; } +#if wxUSE_LIBHILDON + // Maemo-specific method: get the main program object + HildonProgram *GetHildonProgram() const { return m_hildonProgram; } +#endif // wxUSE_LIBHILDON // implementation only from now on // ------------------------------- @@ -80,8 +89,11 @@ private: #endif guint m_idleSourceId; +#if wxUSE_LIBHILDON + HildonProgram *m_hildonProgram; +#endif // wxUSE_LIBHILDON + DECLARE_DYNAMIC_CLASS(wxApp) - DECLARE_EVENT_TABLE() }; #endif // _WX_GTK_APP_H_