compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
|||||||
long style = wxTextEntryDialogStyle,
|
long style = wxTextEntryDialogStyle,
|
||||||
const wxPoint& pos = wxDefaultPosition);
|
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; }
|
wxString GetValue() const { return m_value; }
|
||||||
|
|
||||||
// implementation only
|
// implementation only
|
||||||
|
@@ -31,8 +31,6 @@
|
|||||||
#if wxUSE_TEXTDLG
|
#if wxUSE_TEXTDLG
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
#include "wx/dialog.h"
|
#include "wx/dialog.h"
|
||||||
#include "wx/button.h"
|
#include "wx/button.h"
|
||||||
@@ -122,4 +120,11 @@ void wxTextEntryDialog::OnOK(wxCommandEvent& WXUNUSED(event) )
|
|||||||
EndModal(wxID_OK);
|
EndModal(wxID_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void wxTextEntryDialog::SetValue(const wxString& val)
|
||||||
|
{
|
||||||
|
m_value = val;
|
||||||
|
|
||||||
|
m_textctrl->SetValue(val);
|
||||||
|
}
|
||||||
|
|
||||||
#endif // wxUSE_TEXTDLG
|
#endif // wxUSE_TEXTDLG
|
||||||
|
Reference in New Issue
Block a user