X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..bbee1b4abc13379569607df8f6985ec68dc12231:/src/common/valgen.cpp diff --git a/src/common/valgen.cpp b/src/common/valgen.cpp index ee65e02c47..706dfe892e 100644 --- a/src/common/valgen.cpp +++ b/src/common/valgen.cpp @@ -442,7 +442,7 @@ bool wxGenericValidator::TransferFromWindow(void) } else if (m_pString) { - *m_pString = pControl->GetStringSelection(); + *m_pString = pControl->GetValue(); return TRUE; } } else