Fix so the value given to wxTextEntryDialog::SetValue will actually be

used in the entry field.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2002-02-20 01:53:04 +00:00
parent 59840ba3b1
commit c9468a241b

View File

@ -41,7 +41,7 @@ public:
long style = wxTextEntryDialogStyle, long style = wxTextEntryDialogStyle,
const wxPoint& pos = wxDefaultPosition); const wxPoint& pos = wxDefaultPosition);
void SetValue(const wxString& val) { m_value = val; } void SetValue(const wxString& val) { m_value = val; m_textctrl->SetValue(val); }
wxString GetValue() const { return m_value; } wxString GetValue() const { return m_value; }
// implementation only // implementation only