wxMac needs the scroll styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -150,6 +150,9 @@ void wxStyledTextCtrl::Create(wxWindow *parent,
|
|||||||
long style,
|
long style,
|
||||||
const wxString& name)
|
const wxString& name)
|
||||||
{
|
{
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
style |= wxVSCROLL | wxHSCROLL;
|
||||||
|
#endif
|
||||||
wxControl::Create(parent, id, pos, size,
|
wxControl::Create(parent, id, pos, size,
|
||||||
style | wxWANTS_CHARS | wxCLIP_CHILDREN,
|
style | wxWANTS_CHARS | wxCLIP_CHILDREN,
|
||||||
wxDefaultValidator, name);
|
wxDefaultValidator, name);
|
||||||
|
@@ -150,6 +150,9 @@ void wxStyledTextCtrl::Create(wxWindow *parent,
|
|||||||
long style,
|
long style,
|
||||||
const wxString& name)
|
const wxString& name)
|
||||||
{
|
{
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
style |= wxVSCROLL | wxHSCROLL;
|
||||||
|
#endif
|
||||||
wxControl::Create(parent, id, pos, size,
|
wxControl::Create(parent, id, pos, size,
|
||||||
style | wxWANTS_CHARS | wxCLIP_CHILDREN,
|
style | wxWANTS_CHARS | wxCLIP_CHILDREN,
|
||||||
wxDefaultValidator, name);
|
wxDefaultValidator, name);
|
||||||
|
@@ -150,6 +150,9 @@ void wxStyledTextCtrl::Create(wxWindow *parent,
|
|||||||
long style,
|
long style,
|
||||||
const wxString& name)
|
const wxString& name)
|
||||||
{
|
{
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
style |= wxVSCROLL | wxHSCROLL;
|
||||||
|
#endif
|
||||||
wxControl::Create(parent, id, pos, size,
|
wxControl::Create(parent, id, pos, size,
|
||||||
style | wxWANTS_CHARS | wxCLIP_CHILDREN,
|
style | wxWANTS_CHARS | wxCLIP_CHILDREN,
|
||||||
wxDefaultValidator, name);
|
wxDefaultValidator, name);
|
||||||
|
@@ -150,6 +150,9 @@ void wxStyledTextCtrl::Create(wxWindow *parent,
|
|||||||
long style,
|
long style,
|
||||||
const wxString& name)
|
const wxString& name)
|
||||||
{
|
{
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
style |= wxVSCROLL | wxHSCROLL;
|
||||||
|
#endif
|
||||||
wxControl::Create(parent, id, pos, size,
|
wxControl::Create(parent, id, pos, size,
|
||||||
style | wxWANTS_CHARS | wxCLIP_CHILDREN,
|
style | wxWANTS_CHARS | wxCLIP_CHILDREN,
|
||||||
wxDefaultValidator, name);
|
wxDefaultValidator, name);
|
||||||
|
Reference in New Issue
Block a user