X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..b039c367cd7c1085d4175d3f87710a6f00e28fb4:/include/wx/valtext.h diff --git a/include/wx/valtext.h b/include/wx/valtext.h index f7ee50eec4..26422a77d8 100644 --- a/include/wx/valtext.h +++ b/include/wx/valtext.h @@ -30,7 +30,7 @@ class WXDLLEXPORT wxTextValidator: public wxValidator { DECLARE_DYNAMIC_CLASS(wxTextValidator) public: - wxTextValidator(const long style = wxFILTER_NONE, wxString *val = NULL); + wxTextValidator(long style = wxFILTER_NONE, wxString *val = NULL); wxTextValidator(const wxTextValidator& val); ~wxTextValidator(); @@ -54,7 +54,7 @@ public: // ACCESSORS inline long GetStyle(void) const { return m_validatorStyle; } - inline void SetStyle(const long style) { m_validatorStyle = style; } + inline void SetStyle(long style) { m_validatorStyle = style; } void SetIncludeList(const wxStringList& list); inline wxStringList& GetIncludeList(void) { return m_includeList; }