X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/87e53e2a946066ce0925c3bf983f8142e763930c..169adfa9c4b781f737920bc808da91cd926c3e36:/include/wx/gtk/toplevel.h?ds=sidebyside diff --git a/include/wx/gtk/toplevel.h b/include/wx/gtk/toplevel.h index 8ee1660d8b..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,8 +56,14 @@ public: virtual bool SetShape(const wxRegion& region); + virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO); + virtual bool Show(bool show = TRUE); + virtual void Raise(); + + virtual bool IsActive(); + virtual void SetTitle( const wxString &title ); virtual wxString GetTitle() const { return m_title; } @@ -102,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();