1998-08-15 00:23:28 +00:00
|
|
|
#ifndef _WX_SCROLWIN_H_BASE_
|
|
|
|
#define _WX_SCROLWIN_H_BASE_
|
1998-05-20 14:01:55 +00:00
|
|
|
|
2001-04-29 15:27:57 +00:00
|
|
|
#ifdef __WXGTK__
|
|
|
|
#include "wx/gtk/scrolwin.h"
|
|
|
|
#else
|
1998-05-20 14:01:55 +00:00
|
|
|
#include "wx/generic/scrolwin.h"
|
2001-04-30 12:35:54 +00:00
|
|
|
// For non-GTK+ platforms, always use wxGenericScrolledWindow
|
|
|
|
class WXDLLEXPORT wxScrolledWindow: public wxGenericScrolledWindow
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
DECLARE_CLASS(wxScrolledWindow)
|
|
|
|
wxScrolledWindow() {};
|
|
|
|
wxScrolledWindow(wxWindow *parent,
|
|
|
|
wxWindowID id = -1,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = wxScrolledWindowStyle,
|
|
|
|
const wxString& name = wxPanelNameStr)
|
|
|
|
{
|
|
|
|
wxGenericScrolledWindow::Create(parent, id, pos, size, style, name);
|
|
|
|
}
|
|
|
|
};
|
2001-05-01 13:01:58 +00:00
|
|
|
#define wxSCROLLED_WINDOW_IS_GENERIC 1
|
2001-04-29 15:27:57 +00:00
|
|
|
#endif
|
1998-05-20 14:01:55 +00:00
|
|
|
|
|
|
|
#endif
|
1998-08-15 00:23:28 +00:00
|
|
|
// _WX_SCROLWIN_H_BASE_
|