]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/listbox.cpp
Build fix for SmartPhoneCE.
[wxWidgets.git] / src / mac / carbon / listbox.cpp
index ace8cfff04f0683a39e0dde081e7a4233deef785..91a2c995a68c23b662c6d4ffbb247f516846f901 100644 (file)
@@ -18,9 +18,9 @@
 #ifndef WX_PRECOMP
     #include "wx/dynarray.h"
     #include "wx/log.h"
+    #include "wx/app.h"
 #endif
 
-#include "wx/app.h"
 #include "wx/button.h"
 #include "wx/settings.h"
 #include "wx/toplevel.h"
@@ -516,7 +516,6 @@ OSStatus wxMacListBoxItem::GetSetData( wxMacDataItemBrowserControl *owner ,
     OSStatus err = errDataBrowserPropertyNotSupported;
     wxListBox *list = wxDynamicCast( owner->GetPeer() , wxListBox );
     wxCHECK_MSG( list != NULL , errDataBrowserPropertyNotSupported , wxT("Listbox expected"));
-    wxCheckListBox *checklist = wxDynamicCast( list , wxCheckListBox );
 
     if ( !changeValue )
     {