]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/scrolbar.cpp
Had missed one LPSTR.
[wxWidgets.git] / src / gtk / scrolbar.cpp
index 038d908e20161c36b144d924bee583da766d42a4..a2f96c9a3322cfa71e4cce8fc0770b9aaaba2ca6 100644 (file)
@@ -139,7 +139,9 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
   
     PreCreation( parent, id, pos, size, style, name );
   
+#if wxUSE_VALIDATORS
     SetValidator( validator );
+#endif
 
     m_oldPos = 0.0;