]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/textdlgg.h
use wcs(n)casecmp() if available; use wxStricmp() to implement wxString::CmpNoCase...
[wxWidgets.git] / include / wx / generic / textdlgg.h
index 5fd6056ddaaf2651c568c1e458797d90ce924cab..c8ed7d2e56bc9f13748063f53ebed05169309899 100644 (file)
@@ -49,7 +49,10 @@ public:
 
 #if wxUSE_VALIDATORS
     void SetTextValidator( const wxTextValidator& validator );
-    void SetTextValidator( long style = wxFILTER_NONE );
+#if WXWIN_COMPATIBILITY_2_8
+    wxDEPRECATED( void SetTextValidator( long style ) );
+#endif
+    void SetTextValidator( wxTextValidatorStyle style = wxFILTER_NONE );
     wxTextValidator* GetTextValidator() { return (wxTextValidator*)m_textctrl->GetValidator(); }
 #endif
   // wxUSE_VALIDATORS