X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/708c45a6cef439edb007ca8f8329582244f152f5..cdd0a08f32e18bacfdec44c65e4498b9ba1f29b6:/src/gtk/combobox.cpp diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 9e92ab9e2d..60bbf8f50d 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -225,7 +225,7 @@ void wxComboBox::SetFocus() int wxComboBox::AppendCommon( const wxString &item ) { - wxCHECK_RET( m_widget != NULL, wxT("invalid combobox") ); + wxCHECK_MSG( m_widget != NULL, -1, wxT("invalid combobox") ); DisableEvents();