compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-02-20 13:52:46 +00:00
parent fde5a86bda
commit a8f6ef5190
2 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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