]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/valgen.cpp
attempt to fix a rare crash which happens when changing the number of columns in...
[wxWidgets.git] / src / common / valgen.cpp
index 02da993d2524cd15bef6679853757a899d04b76b..d6fc453323d64d6516233fbca9e27f03f7cf5476 100644 (file)
@@ -225,6 +225,10 @@ bool wxGenericValidator::TransferToWindow(void)
             {
                 pControl->SetStringSelection(* m_pString);
             }
+            else
+            {
+                pControl->SetValue(* m_pString);
+            }
             return TRUE;
         }
     } else