X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/708c45a6cef439edb007ca8f8329582244f152f5..6f054ac5e8f4d9daf9f4d7fabfa285cb7b148d17:/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();