X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..adfed1ca928d27ec04f730883f0ba01900540056:/include/wx/gtk/window.h?ds=inline diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index ec83a98567..e648eb9815 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -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__