X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa66250ba4e21292258fc3664c2875a89e2220d5..b16de7461ac6d97b0b04a5ce4e73447925e93416:/src/generic/textdlgg.cpp?ds=inline diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index 8e65b6cdcd..9b6ea31e90 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "textdlgg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -177,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 ); }