]> 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 8825d90216a88d23da80a4819efeb02a54897707..b8f4eb474a125f3ae70b7e1f49d122ad5bf6420e 100644 (file)
@@ -47,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