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