]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/combobox.cpp
Make wxr resources work in Unicode mode.
[wxWidgets.git] / samples / widgets / combobox.cpp
index f37c4721a5316059fc2bc515d3ee3bd3489b7fdc..42883f7e31445d08851ec8f9d5eff1305efe0cca 100644 (file)
@@ -340,7 +340,7 @@ void ComboboxWidgetsPage::CreateCombo()
             items.Add(m_combobox->GetString(n));
         }
 
-        m_sizerCombo->Remove(m_combobox);
+        m_sizerCombo->Detach( m_combobox );
         delete m_combobox;
     }