]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/textctrl.cpp
Corrected cursors for during capture mouse.
[wxWidgets.git] / src / gtk1 / textctrl.cpp
index a97f3bb5528d71ee74801a417c186e509cdb8737..4d206d3c6d0791d9d407cb9ef3a3c37f64862e14 100644 (file)
@@ -137,7 +137,9 @@ bool wxTextCtrl::Create( wxWindow *parent, wxWindowID id, const wxString &value,
 
     PreCreation( parent, id, pos, size, style, name );
 
+#if wxUSE_VALIDATORS
     SetValidator( validator );
+#endif // wxUSE_VALIDATORS
 
     m_vScrollbarVisible = FALSE;