X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..3d1a1d2df6345ebea69490e03d0befa0def83fd3:/src/gtk1/checklst.cpp diff --git a/src/gtk1/checklst.cpp b/src/gtk1/checklst.cpp index 0f754b7d52..234fba1b12 100644 --- a/src/gtk1/checklst.cpp +++ b/src/gtk1/checklst.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "checklst.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -24,14 +20,6 @@ #include #include -//----------------------------------------------------------------------------- -// wxCheckListBoxBase -//----------------------------------------------------------------------------- - -wxCheckListBoxBase::wxCheckListBoxBase() -{ -} - //----------------------------------------------------------------------------- // wxCheckListBox //----------------------------------------------------------------------------- @@ -56,6 +44,19 @@ wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id, wxListBox::Create( parent, id, pos, size, nStrings, choices, style, validator, name ); } +wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id, + const wxPoint& pos, + const wxSize& size, + const wxArrayString& choices, + long style, + const wxValidator& validator, + const wxString& name ) +{ + m_hasCheckBoxes = TRUE; + wxListBox::Create( parent, id, pos, size, choices, + style, validator, name ); +} + bool wxCheckListBox::IsChecked( int index ) const { wxCHECK_MSG( m_list != NULL, FALSE, wxT("invalid checklistbox") );