X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..fdc255cfe0f2689f567a97a254967a47a0ac4482:/src/osx/checklst_osx.cpp?ds=sidebyside

diff --git a/src/osx/checklst_osx.cpp b/src/osx/checklst_osx.cpp
index 98a9b96cb5..55e3b9ce4e 100644
--- a/src/osx/checklst_osx.cpp
+++ b/src/osx/checklst_osx.cpp
@@ -24,11 +24,9 @@
 
 #include "wx/osx/private.h"
 
-IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
-
 BEGIN_EVENT_TABLE(wxCheckListBox, wxListBox)
 END_EVENT_TABLE()
- 
+
 void wxCheckListBox::Init()
 {
 }
@@ -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") );
 
@@ -118,7 +115,7 @@ void wxCheckListBox::SetValueCallback( unsigned int n, wxListWidgetColumn* col ,
     if ( col == m_checkColumn )
     {
         Check( n, value.IsChecked() );
-        
+
         wxCommandEvent event( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, GetId() );
         event.SetInt( n );
         event.SetString( GetString( n ) );