From: Vadim Zeitlin Date: Sat, 30 Aug 2003 23:11:46 +0000 (+0000) Subject: compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2a68b7a07d34e141fd69686d77cdc7979082c7d8 compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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(); diff --git a/src/gtk1/combobox.cpp b/src/gtk1/combobox.cpp index 9e92ab9e2d..60bbf8f50d 100644 --- a/src/gtk1/combobox.cpp +++ b/src/gtk1/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();