]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/scrolbar.h
No real changes, just add wxSizerItem::AddBorderToSize() helper.
[wxWidgets.git] / include / wx / gtk1 / scrolbar.h
index 2950e85ce564faf68fd58f98e8b20d0798d1f07a..4a0eb2dfdcfd3cb9af5a0b9a065dbd963cbe186e 100644 (file)
@@ -16,7 +16,7 @@
 // classes
 //-----------------------------------------------------------------------------
 
 // classes
 //-----------------------------------------------------------------------------
 
-class WXDLLIMPEXP_CORE wxScrollBar;
+class WXDLLIMPEXP_FWD_CORE wxScrollBar;
 
 //-----------------------------------------------------------------------------
 // wxScrollBar
 
 //-----------------------------------------------------------------------------
 // wxScrollBar
@@ -26,7 +26,7 @@ class WXDLLIMPEXP_CORE wxScrollBar: public wxScrollBarBase
 {
 public:
     wxScrollBar()
 {
 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,
     inline wxScrollBar( wxWindow *parent, wxWindowID id,
            const wxPoint& pos = wxDefaultPosition,
            const wxSize& size = wxDefaultSize,