X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/987263fe1974dac46a38d6d623557ccf89a25992..d896a793a01cf7dc02ed04dcadb51591438eb32f:/src/generic/scrlwing.cpp diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index deea726fb6..f2c4ba0af7 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -1202,6 +1202,21 @@ BEGIN_EVENT_TABLE(wxGenericScrolledWindow, wxPanel) EVT_PAINT(wxGenericScrolledWindow::OnPaint) END_EVENT_TABLE() +wxGenericScrolledWindow::wxGenericScrolledWindow() : wxScrollHelper(this) +{ +} + +wxGenericScrolledWindow::wxGenericScrolledWindow(wxWindow *parent, + wxWindowID winid, + const wxPoint& pos, + const wxSize& size, + long style, + const wxString& name) + : wxScrollHelper(this) +{ + Create(parent, winid, pos, size, style, name); +} + bool wxGenericScrolledWindow::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, @@ -1277,6 +1292,24 @@ wxGenericScrolledWindow::MSWWindowProc(WXUINT nMsg, #endif // __WXMSW__ +// ---------------------------------------------------------------------------- +// wxScrolledWindow implementation +// ---------------------------------------------------------------------------- + +wxScrolledWindow::wxScrolledWindow() +{ +} + +wxScrolledWindow::wxScrolledWindow(wxWindow *parent, + wxWindowID winid, + const wxPoint& pos, + const wxSize& size, + long style, + const wxString& name) + : wxGenericScrolledWindow(parent, winid, pos, size, style, name) +{ +} + #endif // !wxGTK // vi:sts=4:sw=4:et