diff --git a/include/wx/generic/textdlgg.h b/include/wx/generic/textdlgg.h index 7f6cb35a2c..81409bf504 100644 --- a/include/wx/generic/textdlgg.h +++ b/include/wx/generic/textdlgg.h @@ -41,7 +41,7 @@ public: long style = wxTextEntryDialogStyle, 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; } // implementation only