]> git.saurik.com Git - wxWidgets.git/commitdiff
Derive wxCheckListBox from wxCheckListBoxBase in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Jan 2013 11:18:50 +0000 (11:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Jan 2013 11:18:50 +0000 (11:18 +0000)
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
src/gtk/checklst.cpp

index c3aa5e6d83514db430bf4fbc2ed2b467f39f801f..4be12690162995cae2096c59161d901ef1f96ae2 100644 (file)
@@ -28,7 +28,7 @@
 // wxCheckListBox
 // ----------------------------------------------------------------------------
 
-class WXDLLIMPEXP_CORE wxCheckListBox : public wxListBox
+class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase
 {
 public:
     wxCheckListBox();
index e0826434223d6af71ef447fd0e04eee0fd5e8974..fef7b3c61cc3099ecd56889ad1f51eae289a8015 100644 (file)
@@ -46,7 +46,7 @@ static void gtk_checklist_toggled(GtkCellRendererToggle * WXUNUSED(renderer),
 // wxCheckListBox
 //-----------------------------------------------------------------------------
 
-wxCheckListBox::wxCheckListBox() : wxListBox()
+wxCheckListBox::wxCheckListBox() : wxCheckListBoxBase()
 {
     m_hasCheckBoxes = true;
 }