]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/combobox.cpp
cleaning up the mess created by the FloodFill patch
[wxWidgets.git] / samples / widgets / combobox.cpp
index b4a4ecc9610e6d6e6dc8dc6e64d81451a280bfd6..e79c7e7d894e3a2af5d422ecb6d348938b6aac63 100644 (file)
@@ -457,7 +457,7 @@ void ComboboxWidgetsPage::OnUpdateUIDeleteButton(wxUpdateUIEvent& event)
     {
       unsigned long n;
       event.Enable(m_textDelete->GetValue().ToULong(&n) &&
     {
       unsigned long n;
       event.Enable(m_textDelete->GetValue().ToULong(&n) &&
-                (n < (unsigned)m_combobox->GetCount()));
+        (n < (unsigned)m_combobox->GetCount()));
     }
 }
 
     }
 }
 
@@ -482,8 +482,8 @@ void ComboboxWidgetsPage::OnUpdateUIAddSeveral(wxUpdateUIEvent& event)
 void ComboboxWidgetsPage::OnComboText(wxCommandEvent& event)
 {
     if (!m_combobox)
 void ComboboxWidgetsPage::OnComboText(wxCommandEvent& event)
 {
     if (!m_combobox)
-       return;
-    
+        return;
+
     wxString s = event.GetString();
 
     wxASSERT_MSG( s == m_combobox->GetValue(),
     wxString s = event.GetString();
 
     wxASSERT_MSG( s == m_combobox->GetValue(),