From: Vadim Zeitlin Date: Mon, 21 Jan 2013 11:18:50 +0000 (+0000) Subject: Derive wxCheckListBox from wxCheckListBoxBase in wxGTK. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0444602e4628658d0cdb8192ff913ce7e90ed9b3 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 --- 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; }