]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/valgen.cpp
don't call wxLogLastError() in wx{File|Path}Exists
[wxWidgets.git] / src / common / valgen.cpp
index ee65e02c47fd54022d5b4d4ddaa30c5ce3c1ea16..706dfe892e7ed6d0f2f1ba2d0e7eafe4b01eeb06 100644 (file)
@@ -442,7 +442,7 @@ bool wxGenericValidator::TransferFromWindow(void)
     }
     else if (m_pString)
     {
-        *m_pString = pControl->GetStringSelection();
+        *m_pString = pControl->GetValue();
         return TRUE;
     }
   } else