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