]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/valgen.cpp
fixed stupid bug in LCID->locale string translation
[wxWidgets.git] / src / common / valgen.cpp
index 5f687dd7ea5d57ca24b069314bbad412a3ba31ef..5ce9a769aebe6a3b447a92f87afb93bdb415916f 100644 (file)
@@ -410,7 +410,7 @@ bool wxGenericValidator::TransferFromWindow(void)
     wxSlider* pControl = (wxSlider*) m_validatorWindow;
     if (m_pInt)
     {
-      pControl->SetValue(*m_pInt) ;
+      *m_pInt = pControl->GetValue() ;
       return TRUE;
     }
   } else