git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14325
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
long style = wxTextEntryDialogStyle,
const wxPoint& pos = wxDefaultPosition);
- void SetValue(const wxString& val) { m_value = val; m_textctrl->SetValue(val); }
+ void SetValue(const wxString& val);
wxString GetValue() const { return m_value; }
// implementation only
#if wxUSE_TEXTDLG
#ifndef WX_PRECOMP
- #include <stdio.h>
-
#include "wx/utils.h"
#include "wx/dialog.h"
#include "wx/button.h"
EndModal(wxID_OK);
}
+void wxTextEntryDialog::SetValue(const wxString& val)
+{
+ m_value = val;
+
+ m_textctrl->SetValue(val);
+}
+
#endif // wxUSE_TEXTDLG