From c4c928018dbe74e953a45463ba8cac78abfb8558 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Jul 2001 09:53:59 +0000 Subject: [PATCH] fix for compilation without WXWIN_COMPATIBILITY_2_2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/listbox.cpp | 2 +- src/gtk1/listbox.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/listbox.cpp b/src/gtk/listbox.cpp index 86679dd655..aade5967cf 100644 --- a/src/gtk/listbox.cpp +++ b/src/gtk/listbox.cpp @@ -647,7 +647,7 @@ void wxListBox::Clear() { wxCHECK_RET( m_list != NULL, wxT("invalid listbox") ); - gtk_list_clear_items( m_list, 0, Number() ); + gtk_list_clear_items( m_list, 0, GetCount() ); if ( HasClientObjectData() ) { diff --git a/src/gtk1/listbox.cpp b/src/gtk1/listbox.cpp index 86679dd655..aade5967cf 100644 --- a/src/gtk1/listbox.cpp +++ b/src/gtk1/listbox.cpp @@ -647,7 +647,7 @@ void wxListBox::Clear() { wxCHECK_RET( m_list != NULL, wxT("invalid listbox") ); - gtk_list_clear_items( m_list, 0, Number() ); + gtk_list_clear_items( m_list, 0, GetCount() ); if ( HasClientObjectData() ) { -- 2.45.2