X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..24bcaec36746abeeb9e2023d03e3ab4289006fc3:/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