X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..15d5a9470be940a5bac66181a9e4c27d47d56558:/src/generic/textdlgg.cpp?ds=inline diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index 9b6a5b965e..5eadd8e018 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -31,8 +31,6 @@ #if wxUSE_TEXTDLG #ifndef WX_PRECOMP - #include - #include "wx/utils.h" #include "wx/dialog.h" #include "wx/button.h" @@ -122,4 +120,11 @@ void wxTextEntryDialog::OnOK(wxCommandEvent& WXUNUSED(event) ) EndModal(wxID_OK); } +void wxTextEntryDialog::SetValue(const wxString& val) +{ + m_value = val; + + m_textctrl->SetValue(val); +} + #endif // wxUSE_TEXTDLG