X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05060eeb83b10065edb0f94357102fb6b55cbb29..61e33e31ab7ca812fbcbb48422c43b2b56f5eb87:/src/gtk1/textctrl.cpp?ds=inline diff --git a/src/gtk1/textctrl.cpp b/src/gtk1/textctrl.cpp index a97f3bb552..4d206d3c6d 100644 --- a/src/gtk1/textctrl.cpp +++ b/src/gtk1/textctrl.cpp @@ -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;