X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f36e602b3f4cccedfa2d8932c288f3dfed7b549e..0ed6c9331471a50204fafb23e0a761f00a99fa91:/src/generic/textdlgg.cpp diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index 50ea1ad378..16cfd7d9d5 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -151,7 +151,15 @@ void wxTextEntryDialog::SetValue(const wxString& val) } #if wxUSE_VALIDATORS + +#if WXWIN_COMPATIBILITY_2_8 void wxTextEntryDialog::SetTextValidator( long style ) +{ + SetTextValidator((wxTextValidatorStyle)style); +} +#endif + +void wxTextEntryDialog::SetTextValidator( wxTextValidatorStyle style ) { wxTextValidator validator( style, &m_value ); m_textctrl->SetValidator( validator );