]> 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 642dd0e9fe170f3f9e3bc6c60ade7dc750f27461..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
-#include "wx/defs.h"
 
 #include "wx/dialog.h"
 
@@ -50,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