]> git.saurik.com Git - wxWidgets.git/blob - include/wx/scrolwin.h
applied patch 433352 (fix for wxTextCtrl::SetForegroundColor())
[wxWidgets.git] / include / wx / scrolwin.h
1 #ifndef _WX_SCROLWIN_H_BASE_
2 #define _WX_SCROLWIN_H_BASE_
3
4 #ifdef __WXGTK__
5 #include "wx/gtk/scrolwin.h"
6 #else
7 #include "wx/generic/scrolwin.h"
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 };
24 #define wxSCROLLED_WINDOW_IS_GENERIC 1
25 #endif
26
27 #endif
28 // _WX_SCROLWIN_H_BASE_