]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/combobox.cpp
wxCriticalSection changes undone - should work now
[wxWidgets.git] / src / msw / combobox.cpp
index abd740fa2bc63b4c51da1ce05f609758f6a2acdc..aec17db23d093e164b8ee0bfde052427a80b2456 100644 (file)
@@ -72,7 +72,7 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
   if (parent) parent->AddChild(this);
   SetBackgroundColour(parent->GetBackgroundColour()) ;
   SetForegroundColour(parent->GetForegroundColour()) ;
-  m_noStrings = n;
+  m_noStrings = 0;
 
   m_windowStyle = style;
 
@@ -115,7 +115,7 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
   wxCHECK_MSG( m_hWnd, FALSE, "Failed to create combobox" );
 
 /*
-#if CTL3D
+#if wxUSE_CTL3D
   if (want3D)
   {
     Ctl3dSubclassCtl(wx_combo);