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:
Robin Dunn
2004-01-26 22:59:38 +00:00
parent 887dfc146f
commit 2659dad320
4 changed files with 12 additions and 0 deletions

View File

@@ -150,6 +150,9 @@ void wxStyledTextCtrl::Create(wxWindow *parent,
long style,
const wxString& name)
{
#ifdef __WXMAC__
style |= wxVSCROLL | wxHSCROLL;
#endif
wxControl::Create(parent, id, pos, size,
style | wxWANTS_CHARS | wxCLIP_CHILDREN,
wxDefaultValidator, name);