virtual void GetScrollPixelsPerUnit(int *pixelsPerUnitX,
int *pixelsPerUnitY) const;
- // Enable/disable Windows scrolling in either direction. If TRUE, wxWindows
+ // Enable/disable Windows scrolling in either direction. If TRUE, wxWidgets
// scrolls the canvas and only a bit of the canvas is invalidated; no
// Clear() is necessary. If FALSE, the whole canvas is invalidated and a
// Clear() is necessary. Disable for when the scroll increment is used to
class WXDLLEXPORT wxScrolledWindow : public wxGenericScrolledWindow
{
public:
- wxScrolledWindow();
+ wxScrolledWindow() { }
wxScrolledWindow(wxWindow *parent,
wxWindowID winid = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
- const wxString& name = wxPanelNameStr);
+ const wxString& name = wxPanelNameStr)
+ : wxGenericScrolledWindow(parent, winid, pos, size, style, name)
+ {
+ }
private:
DECLARE_DYNAMIC_CLASS_NO_COPY(wxScrolledWindow)