5570ec300e
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
29 lines
835 B
C++
29 lines
835 B
C++
#ifndef _WX_SCROLWIN_H_BASE_
|
|
#define _WX_SCROLWIN_H_BASE_
|
|
|
|
#ifdef __WXGTK__
|
|
#include "wx/gtk/scrolwin.h"
|
|
#else
|
|
#include "wx/generic/scrolwin.h"
|
|
// 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);
|
|
}
|
|
};
|
|
#define wxSCROLLED_WINDOW_IS_GENERIC 1
|
|
#endif
|
|
|
|
#endif
|
|
// _WX_SCROLWIN_H_BASE_
|