X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4bb6408c2631988fab9925014c6619358bf867de..31c8af3abb1150658652f506e76af7fa1bb86898:/src/motif/checklst.cpp?ds=sidebyside diff --git a/src/motif/checklst.cpp b/src/motif/checklst.cpp index 00a567632f..740a1ad14b 100644 --- a/src/motif/checklst.cpp +++ b/src/motif/checklst.cpp @@ -17,15 +17,15 @@ #pragma implementation "checklst.h" #endif +#include "wx/defs.h" + #include "wx/checklst.h" // ============================================================================ // implementation // ============================================================================ -#if !USE_SHARED_LIBRARY - IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox) -#endif +IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox) // ---------------------------------------------------------------------------- // implementation of wxCheckListBox class @@ -50,7 +50,7 @@ wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id, int nStrings, const wxString choices[], long style, const wxValidator& val, const wxString& name) - : wxListBox() + : wxListBox() { // TODO: you'll probably need a separate Create instead of using // the wxListBox one as here. @@ -60,13 +60,13 @@ wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id, // check items // ----------- -bool wxCheckListBox::IsChecked(uint uiIndex) const +bool wxCheckListBox::IsChecked(size_t WXUNUSED(uiIndex)) const { // TODO return FALSE; } -void wxCheckListBox::Check(uint uiIndex, bool bCheck) +void wxCheckListBox::Check(size_t WXUNUSED(uiIndex), bool WXUNUSED(bCheck)) { // TODO }