]>
Commit | Line | Data |
---|---|---|
34138703 JS |
1 | #ifndef _WX_SCROLWIN_H_BASE_ |
2 | #define _WX_SCROLWIN_H_BASE_ | |
c801d85f | 3 | |
30954328 RR |
4 | #ifdef __WXGTK__ |
5 | #include "wx/gtk/scrolwin.h" | |
6 | #else | |
c801d85f | 7 | #include "wx/generic/scrolwin.h" |
fa3541bd JS |
8 | // For non-GTK+ platforms, always use wxGenericScrolledWindow |
9 | class WXDLLEXPORT wxScrolledWindow: public wxGenericScrolledWindow | |
10 | { | |
11 | public: | |
12 | DECLARE_CLASS(wxScrolledWindow) | |
13 | wxScrolledWindow() {}; | |
14 | wxScrolledWindow(wxWindow *parent, | |
15 | wxWindowID id = -1, | |
16 | const wxPoint& pos = wxDefaultPosition, | |
17 | const wxSize& size = wxDefaultSize, | |
18 | long style = wxScrolledWindowStyle, | |
19 | const wxString& name = wxPanelNameStr) | |
20 | { | |
21 | wxGenericScrolledWindow::Create(parent, id, pos, size, style, name); | |
22 | } | |
23 | }; | |
30954328 | 24 | #endif |
c801d85f KB |
25 | |
26 | #endif | |
34138703 | 27 | // _WX_SCROLWIN_H_BASE_ |