X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a446b03dccd9218f73ea00820e48d4bfc464600..2f27c88987b5bea88ea2520e342ef2a0767021bc:/include/wx/gtk/toplevel.h?ds=inline diff --git a/include/wx/gtk/toplevel.h b/include/wx/gtk/toplevel.h index 45bfd16771..ef3d2f8ef2 100644 --- a/include/wx/gtk/toplevel.h +++ b/include/wx/gtk/toplevel.h @@ -7,20 +7,14 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __GTKTOPLEVELH__ #define __GTKTOPLEVELH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "toplevel.h" -#endif - - //----------------------------------------------------------------------------- // wxTopLevelWindowGTK //----------------------------------------------------------------------------- -class wxTopLevelWindowGTK : public wxTopLevelWindowBase +class WXDLLIMPEXP_CORE wxTopLevelWindowGTK : public wxTopLevelWindowBase { public: // construction @@ -62,9 +56,7 @@ public: virtual bool SetShape(const wxRegion& region); -#if wxABI_VERSION >= 20602 virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO); -#endif virtual bool Show(bool show = TRUE); @@ -110,6 +102,10 @@ public: long m_gdkFunc, m_gdkDecor; + // private gtk_timeout_add result for mimicing wxUSER_ATTENTION_INFO and + // wxUSER_ATTENTION_ERROR difference, -2 for no hint, -1 for ERROR hint, rest for GtkTimeout handle. + int m_urgency_hint; + protected: // common part of all ctors void Init();