X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31f4ed4aa313e7ed804f3e161ac7637dfba70350..a4f6fe43c33bd7933645d110ad2719871dab043d:/include/wx/gtk/app.h?ds=sidebyside diff --git a/include/wx/gtk/app.h b/include/wx/gtk/app.h index 0954cd400b..f4618d5a5a 100644 --- a/include/wx/gtk/app.h +++ b/include/wx/gtk/app.h @@ -56,6 +56,13 @@ public: // must return XVisualInfo pointer (it is not freed by caller) virtual void *GetXVisualInfo() { return NULL; } + // Check if we're using a global menu. Currently this is only true when + // running under Ubuntu Unity and global menu is not disabled. + // + // This is mostly used in the implementation in order to work around + // various bugs arising due to this. + static bool GTKIsUsingGlobalMenu(); + #if wxUSE_LIBHILDON || wxUSE_LIBHILDON2 // Maemo-specific method: get the main program object HildonProgram *GetHildonProgram(); @@ -75,7 +82,7 @@ private: #if wxUSE_THREADS wxMutex m_idleMutex; #endif - guint m_idleSourceId; + unsigned m_idleSourceId; #if wxUSE_LIBHILDON || wxUSE_LIBHILDON2 HildonProgram *m_hildonProgram;