]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/stc/stc.cpp
applied patch 744616: WXRC extension for automated use (Eduardo Marques)
[wxWidgets.git] / contrib / src / stc / stc.cpp
index 93a193a70c8503ef67687156fb027c2218738fb7..8d03e9c92d6cd86ceedd77e1164049bfaf7349a6 100644 (file)
@@ -150,8 +150,11 @@ void wxStyledTextCtrl::Create(wxWindow *parent,
                                    long style,
                                    const wxString& name)
 {
+#ifdef __WXMAC__
+    style |= wxVSCROLL | wxHSCROLL;
+#endif
     wxControl::Create(parent, id, pos, size,
-              style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN,
+                      style | wxWANTS_CHARS | wxCLIP_CHILDREN,
               wxDefaultValidator, name);
 
 #ifdef LINK_LEXERS