From 2a68b7a07d34e141fd69686d77cdc7979082c7d8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 30 Aug 2003 23:11:46 +0000 Subject: [PATCH] compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/combobox.cpp | 2 +- src/gtk1/combobox.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.50.0