git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30786
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/caret.h"
#endif // wxUSE_CARET
#include "wx/caret.h"
#endif // wxUSE_CARET
-#define wxWINDOW_HSCROLL 5998
-#define wxWINDOW_VSCROLL 5997
-
#define MAC_SCROLLBAR_SIZE 15
#define MAC_SMALL_SCROLLBAR_SIZE 11
#define MAC_SCROLLBAR_SIZE 15
#define MAC_SMALL_SCROLLBAR_SIZE 11
if ( style & wxVSCROLL )
{
if ( style & wxVSCROLL )
{
- m_vScrollBar = new wxScrollBar(this, wxWINDOW_VSCROLL, vPoint,
+ m_vScrollBar = new wxScrollBar(this, wxID_ANY, vPoint,
vSize , wxVERTICAL);
}
if ( style & wxHSCROLL )
{
vSize , wxVERTICAL);
}
if ( style & wxHSCROLL )
{
- m_hScrollBar = new wxScrollBar(this, wxWINDOW_HSCROLL, hPoint,
+ m_hScrollBar = new wxScrollBar(this, wxID_ANY, hPoint,
hSize , wxHORIZONTAL);
}
}
hSize , wxHORIZONTAL);
}
}