X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/add7cadd99d1b40dc012db655643f9c8c7080029..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/include/wx/gtk/scrolbar.h diff --git a/include/wx/gtk/scrolbar.h b/include/wx/gtk/scrolbar.h index 37d64dbae6..fb9ab1bc9f 100644 --- a/include/wx/gtk/scrolbar.h +++ b/include/wx/gtk/scrolbar.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: scrolbar.h +// Name: wx/gtk/scrolbar.h // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -7,16 +7,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __GTKSCROLLBARH__ -#define __GTKSCROLLBARH__ - -#include "wx/defs.h" - -//----------------------------------------------------------------------------- -// classes -//----------------------------------------------------------------------------- - -class WXDLLIMPEXP_CORE wxScrollBar; +#ifndef _WX_GTK_SCROLLBAR_H_ +#define _WX_GTK_SCROLLBAR_H_ //----------------------------------------------------------------------------- // wxScrollBar @@ -41,7 +33,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; @@ -56,15 +48,8 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); - - // implementation - // -------------- - - bool IsOwnGtkWindow( GdkWindow *window ); -private: DECLARE_DYNAMIC_CLASS(wxScrollBar) }; -#endif - // __GTKSCROLLBARH__ +#endif // _WX_GTK_SCROLLBAR_H_