]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/window.h
Updates to fix statusbar and menu errors.
[wxWidgets.git] / include / wx / gtk1 / window.h
index ec83a9856726d92f01f5c813cb94b44ed1f4513e..e648eb9815cd2b1cc7d0e8817f5f4292178c8b6f 100644 (file)
@@ -48,6 +48,7 @@ public:
 
     // implement base class (pure) virtual methods
     // -------------------------------------------
+
     virtual bool Destroy();
 
     virtual void Raise();
@@ -85,9 +86,9 @@ public:
                                const wxFont *theFont = (const wxFont *) NULL)
                                const;
 
-#if wxUSE_MENUS
+#if wxUSE_MENUS_NATIVE
     virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
-#endif // wxUSE_MENUS
+#endif // wxUSE_MENUS_NATIVE
 
     virtual void SetScrollbar( int orient, int pos, int thumbVisible,
                                int range, bool refresh = TRUE );
@@ -173,7 +174,7 @@ public:
     GdkIC               *m_ic;
     GdkICAttr           *m_icattr;
 #endif
-    
+
     /* scrolling stuff */
     GtkAdjustment       *m_hAdjust,*m_vAdjust;
     float                m_oldHorizontalPos;
@@ -200,7 +201,7 @@ public:
     // before the widget has been "realized"
     bool                 m_delayedForegroundColour:1;
     bool                 m_delayedBackgroundColour:1;
-    
+
     // contains GTK's widgets internal information about non-default widget
     // font and colours. we create one for each widget that gets any
     // non-default attribute set via SetFont() or SetForegroundColour() /
@@ -233,7 +234,9 @@ public:
 
 private:
     DECLARE_DYNAMIC_CLASS(wxWindowGTK)
-    DECLARE_NO_COPY_CLASS(wxWindowGTK);
+    DECLARE_NO_COPY_CLASS(wxWindowGTK)
 };
 
+extern wxWindow *wxFindFocusedChild(wxWindowGTK *win);
+
 #endif // __GTKWINDOWH__