]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/combobox.cpp
Initial revision
[wxWidgets.git] / src / msw / combobox.cpp
index 9bab1a0cdb7b03407ffc888376d048d559a78a2c..8d6d7eada7d8f4af649890a8f42daa139c8503fb 100644 (file)
@@ -72,7 +72,9 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
                         const wxString& name)
 {
   SetName(name);
+#if wxUSE_VALIDATORS
   SetValidator(validator);
+#endif // wxUSE_VALIDATORS
   if (parent) parent->AddChild(this);
 //  SetBackgroundColour(parent->GetBackgroundColour()) ;