From 0444602e4628658d0cdb8192ff913ce7e90ed9b3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 21 Jan 2013 11:18:50 +0000 Subject: [PATCH] Derive wxCheckListBox from wxCheckListBoxBase in wxGTK. This ensures that any methods defined in wxCheckListBoxBase will be available in wxGTK wxCheckListBox too. See #14969. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/checklst.h | 2 +- src/gtk/checklst.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/gtk/checklst.h b/include/wx/gtk/checklst.h index c3aa5e6d83..4be1269016 100644 --- a/include/wx/gtk/checklst.h +++ b/include/wx/gtk/checklst.h @@ -28,7 +28,7 @@ // wxCheckListBox // ---------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxCheckListBox : public wxListBox +class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase { public: wxCheckListBox(); diff --git a/src/gtk/checklst.cpp b/src/gtk/checklst.cpp index e082643422..fef7b3c61c 100644 --- a/src/gtk/checklst.cpp +++ b/src/gtk/checklst.cpp @@ -46,7 +46,7 @@ static void gtk_checklist_toggled(GtkCellRendererToggle * WXUNUSED(renderer), // wxCheckListBox //----------------------------------------------------------------------------- -wxCheckListBox::wxCheckListBox() : wxListBox() +wxCheckListBox::wxCheckListBox() : wxCheckListBoxBase() { m_hasCheckBoxes = true; } -- 2.50.0