]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/pickerbase.cpp
implement button support for pre-XP systems (or with themes disabled); using only...
[wxWidgets.git] / src / common / pickerbase.cpp
index 412ddc39e0ec1b0c19f921cd2bb95f051d9d30f7..ec7d0a2cee57bf46573b55ce520dbbb901f90bdb 100644 (file)
@@ -94,7 +94,7 @@ bool wxPickerBase::CreateBase(wxWindow *parent,
         // the m_picker; for very long strings, this real-time synchronization could
         // become a CPU-blocker and thus should be avoided.
         // 32 characters will be more than enough for all common uses.
-        // m_text->SetMaxLength(32);
+        m_text->SetMaxLength(32);
 
         // set the initial contents of the textctrl
         m_text->SetValue(text);