X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2ac55f54d4c63c2fe7495d03e646ffd447d17ac..169adfa9c4b781f737920bc808da91cd926c3e36:/include/wx/gtk/toplevel.h?ds=sidebyside diff --git a/include/wx/gtk/toplevel.h b/include/wx/gtk/toplevel.h index d4464c2ec9..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,6 +56,8 @@ public: virtual bool SetShape(const wxRegion& region); + virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO); + virtual bool Show(bool show = TRUE); virtual void Raise(); @@ -106,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();