added missing consts and pass objects by const reference instead of by value (patch 1205869)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
wxString GetValue() const { return m_value; }
|
||||
|
||||
#if wxUSE_VALIDATORS
|
||||
void SetTextValidator( wxTextValidator& validator );
|
||||
void SetTextValidator( const wxTextValidator& validator );
|
||||
void SetTextValidator( long style = wxFILTER_NONE );
|
||||
wxTextValidator* GetTextValidator() { return (wxTextValidator*)m_textctrl->GetValidator(); }
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user