X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a236aa2058ccf3d36e9cafc20fa7375080c4be50..cd720353875d94cfabbbc120e6569bd08cf2d478:/src/univ/checklst.cpp?ds=sidebyside diff --git a/src/univ/checklst.cpp b/src/univ/checklst.cpp index 3a85960386..4e2d6f857c 100644 --- a/src/univ/checklst.cpp +++ b/src/univ/checklst.cpp @@ -57,8 +57,6 @@ public: // implementation of wxCheckListBox // ============================================================================ -IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox) - // ---------------------------------------------------------------------------- // creation // ---------------------------------------------------------------------------- @@ -122,7 +120,7 @@ bool wxCheckListBox::Create(wxWindow *parent, bool wxCheckListBox::IsChecked(unsigned int item) const { wxCHECK_MSG( IsValid(item), false, - _T("invalid index in wxCheckListBox::IsChecked") ); + wxT("invalid index in wxCheckListBox::IsChecked") ); return m_checks[item] != 0; } @@ -130,7 +128,7 @@ bool wxCheckListBox::IsChecked(unsigned int item) const void wxCheckListBox::Check(unsigned int item, bool check) { wxCHECK_RET( IsValid(item), - _T("invalid index in wxCheckListBox::Check") ); + wxT("invalid index in wxCheckListBox::Check") ); // intermediate var is needed to avoid compiler warning with VC++ bool isChecked = m_checks[item] != 0;