]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
removed countItems parameter from ctor -- doesn't work anyhow
[wxWidgets.git] / src / msw / textctrl.cpp
index e92293f1428861448f9aa982896c8bde9a260521..288f674d4275bc637d4da4a080588a53ea516b64 100644 (file)
@@ -413,6 +413,7 @@ WXDWORD wxTextCtrl::MSWGetStyle(long style, WXDWORD *exstyle) const
             // always adjust the vertical scrollbar automatically if we have it
             msStyle |= WS_VSCROLL | ES_AUTOVSCROLL;
 
+#if wxUSE_RICHEDIT
             // we have to use this style for the rich edit controls because
             // without it the vertical scrollbar never appears at all in
             // richedit 3.0 because of our ECO_NOHIDESEL hack (search for it)
@@ -420,6 +421,7 @@ WXDWORD wxTextCtrl::MSWGetStyle(long style, WXDWORD *exstyle) const
             {
                 msStyle |= ES_DISABLENOSCROLL;
             }
+#endif // wxUSE_RICHEDIT
         }
 
         style |= wxTE_PROCESS_ENTER;