- virtual ~wxGenericScrolledWindow();
-
- bool Create(wxWindow *parent,
- wxWindowID winid,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style = wxScrolledWindowStyle,
- const wxString& name = wxPanelNameStr);
-
- virtual void PrepareDC(wxDC& dc) { DoPrepareDC(dc); }
-
- // lay out the window and its children
- virtual bool Layout();
-
- virtual void DoSetVirtualSize(int x, int y);
-
- // wxWindow's GetBestVirtualSize returns the actual window size,
- // whereas we want to return the virtual size
- virtual wxSize GetBestVirtualSize() const;
-
- // Return the size best suited for the current window
- // (this isn't a virtual size, this is a sensible size for the window)
- virtual wxSize DoGetBestSize() const;
+ // implement base class pure virtuals
+ virtual void AdjustScrollbars();
+ virtual bool IsScrollbarShown(int orient) const;