]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
removed HandleSysCommand() and don't generate duplicate events for frame maximization...
[wxWidgets.git] / src / msw / textctrl.cpp
index 7b94f8ed30657055422352790891cb341dd3b879..2b9d0b32ed29d67037481fd59104c1a833f7d0b6 100644 (file)
@@ -239,6 +239,11 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
                         const wxValidator& validator,
                         const wxString& name)
 {
                         const wxValidator& validator,
                         const wxString& name)
 {
+#ifdef __WXWINCE__
+    if ((style & wxBORDER_MASK) == 0)
+        style |= wxBORDER_SIMPLE;
+#endif
+
     // base initialization
     if ( !CreateBase(parent, id, pos, size, style, validator, name) )
         return FALSE;
     // base initialization
     if ( !CreateBase(parent, id, pos, size, style, validator, name) )
         return FALSE;