X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa66250ba4e21292258fc3664c2875a89e2220d5..a8d2fb31cbf09dcc4683c9566ff4bc89580f268c:/src/generic/textdlgg.cpp 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 ); }