X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/add7cadd99d1b40dc012db655643f9c8c7080029..8120bbc9166a16f95c03d0ee50974117429be9e0:/include/wx/gtk/scrolbar.h?ds=sidebyside diff --git a/include/wx/gtk/scrolbar.h b/include/wx/gtk/scrolbar.h index 37d64dbae6..81cf28aad1 100644 --- a/include/wx/gtk/scrolbar.h +++ b/include/wx/gtk/scrolbar.h @@ -7,8 +7,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __GTKSCROLLBARH__ -#define __GTKSCROLLBARH__ +#ifndef _WX_GTK_SCROLLBAR_H_ +#define _WX_GTK_SCROLLBAR_H_ #include "wx/defs.h" @@ -41,7 +41,7 @@ public: long style = wxSB_HORIZONTAL, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxScrollBarNameStr ); - ~wxScrollBar(); + virtual ~wxScrollBar(); int GetThumbPosition() const; int GetThumbSize() const; int GetPageSize() const; @@ -57,14 +57,11 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); - // implementation - // -------------- - - bool IsOwnGtkWindow( GdkWindow *window ); +protected: + virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; private: DECLARE_DYNAMIC_CLASS(wxScrollBar) }; -#endif - // __GTKSCROLLBARH__ +#endif // _WX_GTK_SCROLLBAR_H_