]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/toplevel.h
don't use a floating point value as a boolean flag; gcc4 (correctly) complains when...
[wxWidgets.git] / include / wx / gtk1 / toplevel.h
index c55ec91352754b57ad034adf90250e7a5f2a70a9..ef3d2f8ef21ddd34d67b259f3db587af925ef688 100644 (file)
@@ -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,13 @@ public:
 
     virtual bool SetShape(const wxRegion& region);
 
+    virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO);
+
     virtual bool Show(bool show = TRUE);
 
-    virtual bool HasFocus();
+    virtual void Raise();
+
+    virtual bool IsActive();
 
     virtual void SetTitle( const wxString &title );
     virtual wxString GetTitle() const { return m_title; }
@@ -104,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();