]> git.saurik.com Git - wxWidgets.git/blame - include/wx/scrolwin.h
Fixes errno.h problems and enable joystick code
[wxWidgets.git] / include / wx / scrolwin.h
CommitLineData
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
9class WXDLLEXPORT wxScrolledWindow: public wxGenericScrolledWindow
10{
11public:
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};
5570ec30 24#define wxSCROLLED_WINDOW_IS_GENERIC 1
30954328 25#endif
c801d85f
KB
26
27#endif
34138703 28 // _WX_SCROLWIN_H_BASE_