X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..9db177273906bb393b97b4a98f6a8b4d61e8f0e3:/src/osx/checklst_osx.cpp diff --git a/src/osx/checklst_osx.cpp b/src/osx/checklst_osx.cpp index fd1d66d478..55e3b9ce4e 100644 --- a/src/osx/checklst_osx.cpp +++ b/src/osx/checklst_osx.cpp @@ -24,8 +24,6 @@ #include "wx/osx/private.h" -IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox) - BEGIN_EVENT_TABLE(wxCheckListBox, wxListBox) END_EVENT_TABLE() @@ -58,9 +56,8 @@ bool wxCheckListBox::Create( long style, const wxValidator& validator, const wxString& name ) -{ - m_macIsUserPane = false; - +{ + wxASSERT_MSG( !(style & wxLB_MULTIPLE) || !(style & wxLB_EXTENDED), wxT("only one of listbox selection modes can be specified") );