From 7f5d8b0085b0140f62fb49dd8a0e50ed895e4632 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 15 Aug 2003 05:41:11 +0000 Subject: [PATCH] setter by ref for git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/textctrl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 96a5085524..ff93bacff4 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -121,13 +121,13 @@ IMPLEMENT_DYNAMIC_CLASS_XTI(wxTextCtrl, wxControl,"wx/textctrl.h") WX_BEGIN_PROPERTIES_TABLE(wxTextCtrl) WX_PROPERTY_SET_AND_GET_BY_REF_RET_BOOL( Font , wxFont , SetFont , GetFont , ) - WX_PROPERTY( Value , wxString , SetValue, GetValue, wxEmptyString ) + WX_PROPERTY_SET_BY_REF( Value , wxString , SetValue, GetValue, wxEmptyString ) WX_END_PROPERTIES_TABLE() WX_BEGIN_HANDLERS_TABLE(wxTextCtrl) WX_END_HANDLERS_TABLE() -WX_CONSTRUCTOR_6( wxTextCtrl , wxWindow* , Parent , wxWindowID , Id , wxString , Value , wxPoint , Position , wxSize , Size , long , WindowStyle) +WX_CONSTRUCTOR_6( wxTextCtrl , wxWindow* , Parent , wxWindowID , Id , wxString , Value , wxPoint , Position , wxSize , Size , long , WindowStyle) #else IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxControl) #endif @@ -1864,7 +1864,7 @@ bool wxTextCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) } return TRUE; } - + // not processed, leave it to the base class return wxTextCtrlBase::MSWOnNotify(idCtrl, lParam, result); } -- 2.45.2