]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/scrolbar.cpp
define WX_XTI_TEMPLATE_FIX in case it is not yet
[wxWidgets.git] / src / univ / scrolbar.cpp
index 372b3b3fe97a29d586023cf540cc092cccf29685..061fabdd8b5e3cf4780e7323f61baba4dce3cd76 100644 (file)
@@ -147,7 +147,7 @@ bool wxScrollBar::Create(wxWindow *parent,
     // the scrollbars never have the border
     style &= ~wxBORDER_MASK;
 
-    if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
+    if ( !wxControl::Create(parent, id, pos, size, style, validator, name) )
         return FALSE;
 
     SetBestSize(size);