X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d248a65cdd75230f16f29a7689b9d8c40498decb..068becf5625117fda98c6a6f94433c5b5147e367:/include/wx/generic/textdlgg.h diff --git a/include/wx/generic/textdlgg.h b/include/wx/generic/textdlgg.h index a2c34a8052..b8f4eb474a 100644 --- a/include/wx/generic/textdlgg.h +++ b/include/wx/generic/textdlgg.h @@ -12,10 +12,6 @@ #ifndef __TEXTDLGH_G__ #define __TEXTDLGH_G__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "textdlgg.h" -#endif - #include "wx/defs.h" #if wxUSE_TEXTDLG @@ -51,7 +47,7 @@ public: wxString GetValue() const { return m_value; } #if wxUSE_VALIDATORS - void SetTextValidator( wxTextValidator& validator ); + void SetTextValidator( const wxTextValidator& validator ); void SetTextValidator( long style = wxFILTER_NONE ); wxTextValidator* GetTextValidator() { return (wxTextValidator*)m_textctrl->GetValidator(); } #endif