]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/textdlgg.h
reset g_SelectionBeforePopup sooner in gtk_popup_hide_callback() to ensure that GetSe...
[wxWidgets.git] / include / wx / generic / textdlgg.h
index a2c34a8052637ed2957b288847185ab7988845fd..b8f4eb474a125f3ae70b7e1f49d122ad5bf6420e 100644 (file)
 #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