]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbox.cpp
compilation fix for non-threaded compilation (threads are still broken
[wxWidgets.git] / src / msw / statbox.cpp
index f08e16db70b1ca8d8c44e6bd62898a487fe4cab8..da2eac0ecc87134ace69735bda6378301973f7c0 100644 (file)
@@ -59,7 +59,7 @@ bool wxStaticBox::Create(wxWindow *parent,
                          long style,
                          const wxString& name)
 {
                          long style,
                          const wxString& name)
 {
-    if ( !CreateControl(parent, id, pos, size, style, name) )
+    if ( !CreateControl(parent, id, pos, size, style, wxDefaultValidator, name) )
         return FALSE;
 
     if ( !MSWCreateControl(wxT("BUTTON"), BS_GROUPBOX, pos, size, label, 0) )
         return FALSE;
 
     if ( !MSWCreateControl(wxT("BUTTON"), BS_GROUPBOX, pos, size, label, 0) )