X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..a643192e9613a4a122c9c348ece7fcb983e56703:/include/wx/gtk1/window.h?ds=inline diff --git a/include/wx/gtk1/window.h b/include/wx/gtk1/window.h index ec83a98567..8fafeca033 100644 --- a/include/wx/gtk1/window.h +++ b/include/wx/gtk1/window.h @@ -85,9 +85,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 +173,7 @@ public: GdkIC *m_ic; GdkICAttr *m_icattr; #endif - + /* scrolling stuff */ GtkAdjustment *m_hAdjust,*m_vAdjust; float m_oldHorizontalPos; @@ -200,7 +200,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 +233,9 @@ public: private: DECLARE_DYNAMIC_CLASS(wxWindowGTK) - DECLARE_NO_COPY_CLASS(wxWindowGTK); + DECLARE_NO_COPY_CLASS(wxWindowGTK) }; +extern wxWindow *wxFindFocusedChild(wxWindowGTK *win); + #endif // __GTKWINDOWH__