]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/combobox.cpp
don't throw away the first three stack frames in the assert stack dump (fix needed...
[wxWidgets.git] / samples / widgets / combobox.cpp
index c14d2ff6332af18d737fb403f3732e4e61146c1f..9f7046a89bd62212c1b4583981aa91f80328bff6 100644 (file)
@@ -491,7 +491,7 @@ void ComboboxWidgetsPage::OnUpdateUICurText(wxUpdateUIEvent& event)
 void ComboboxWidgetsPage::OnUpdateUIInsertionPointText(wxUpdateUIEvent& event)
 {
     if (m_combobox)
-        event.SetText( wxString::Format(_T("%d"), m_combobox->GetInsertionPoint()) );
+        event.SetText( wxString::Format(_T("%ld"), m_combobox->GetInsertionPoint()) );
 }
 
 void ComboboxWidgetsPage::OnUpdateUIResetButton(wxUpdateUIEvent& event)