X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6de97a3b945c99fb942209df48be26f43c1b436d..68dda78574c865bd5bec89fbf4c8c3607b0912db:/include/wx/gtk1/scrolbar.h diff --git a/include/wx/gtk1/scrolbar.h b/include/wx/gtk1/scrolbar.h index 2a79f45acf..f4a50694d0 100644 --- a/include/wx/gtk1/scrolbar.h +++ b/include/wx/gtk1/scrolbar.h @@ -42,7 +42,7 @@ class wxScrollBar: public wxControl public: - wxScrollBar(void) { m_adjust = NULL; m_oldPos = 0.0; }; + wxScrollBar(void) { m_adjust = (GtkAdjustment *) NULL; m_oldPos = 0.0; }; inline wxScrollBar( wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, @@ -77,7 +77,9 @@ class wxScrollBar: public wxControl void SetObjectLength( int objectLength ); void SetViewLength( int viewLength ); - public: + // implementation + + bool IsOwnGtkWindow( GdkWindow *window ); GtkAdjustment *m_adjust; float m_oldPos;