X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..3d777efedc1e05bd6c2a7c34a00a65895b62bb13:/include/wx/gtk1/scrolbar.h?ds=sidebyside diff --git a/include/wx/gtk1/scrolbar.h b/include/wx/gtk1/scrolbar.h index fd3b78ace3..2a5baa7ff2 100644 --- a/include/wx/gtk1/scrolbar.h +++ b/include/wx/gtk1/scrolbar.h @@ -1,8 +1,7 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: scrolbar.h +// Name: wx/gtk1/scrolbar.h // Purpose: // Author: Robert Roebling -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -16,7 +15,7 @@ // classes //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxScrollBar; +class WXDLLIMPEXP_FWD_CORE wxScrollBar; //----------------------------------------------------------------------------- // wxScrollBar @@ -26,7 +25,7 @@ class WXDLLIMPEXP_CORE wxScrollBar: public wxScrollBarBase { public: wxScrollBar() - { m_adjust = (GtkAdjustment *) NULL; m_oldPos = 0.0; } + { m_adjust = NULL; m_oldPos = 0.0; } inline wxScrollBar( wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, @@ -42,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; @@ -65,7 +64,7 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); - + // implementation // --------------