X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..b16de7461ac6d97b0b04a5ce4e73447925e93416:/src/generic/textdlgg.cpp?ds=sidebyside diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index 41fa24dec5..9b6ea31e90 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -173,7 +173,7 @@ void wxTextEntryDialog::SetTextValidator( long style ) m_textctrl->SetValidator( validator ); } -void wxTextEntryDialog::SetTextValidator( wxTextValidator& validator ) +void wxTextEntryDialog::SetTextValidator( const wxTextValidator& validator ) { m_textctrl->SetValidator( validator ); }