]> git.saurik.com Git - wxWidgets.git/commit
Fix wxTextEntryDialog::GetValue() when using SetTextValidator().
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Apr 2013 00:11:00 +0000 (00:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Apr 2013 00:11:00 +0000 (00:11 +0000)
commit42fe16e58be724a33c50fcf3911a7ae0fb753cb9
tree596c44431140fe76892693acf7efb46cfb0e952f
parent45c363c5eb600988ada161e5c5ee211d8876b713
Fix wxTextEntryDialog::GetValue() when using SetTextValidator().

Associating a validator with the text control in wxTextEntryDialog resulted in
GetValue() always returning an empty string which was completely unexpected.

Fix this by setting the value string manually to avoid interfering with any
possibly used validators.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/textdlgg.h
src/generic/textdlgg.cpp