X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..31ad423e4fb556ec225a63b161154d3bf3445c1b:/include/wx/scrolwin.h?ds=inline diff --git a/include/wx/scrolwin.h b/include/wx/scrolwin.h index b4a54a747c..486050a29d 100644 --- a/include/wx/scrolwin.h +++ b/include/wx/scrolwin.h @@ -51,7 +51,7 @@ public: 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 @@ -217,13 +217,16 @@ protected: 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)