compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fde5a86bda
commit
a8f6ef5190
@ -41,7 +41,7 @@ public:
|
||||
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
|
||||
|
@ -31,8 +31,6 @@
|
||||
#if wxUSE_TEXTDLG
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include <stdio.h>
|
||||
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user