]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/listbox.cpp
added DEP_INFO_FLAGS to compilation options
[wxWidgets.git] / src / mac / carbon / listbox.cpp
index 05cc0e249a6927baa3f82ebd2461c8aa253ea602..4e737dc2f64ddce2994df3a26e5a367528421688 100644 (file)
@@ -20,7 +20,7 @@
 #include "wx/log.h"
 
 #include "wx/utils.h"
-#ifdef __UNIX__
+#ifdef __DARWIN__
   #include "ldef/extldef.h"
 #else
   #include "extldef.h"
@@ -166,7 +166,7 @@ void wxListBox::Delete(int N)
     }
 #endif // wxUSE_OWNER_DRAWN/!wxUSE_OWNER_DRAWN
        m_stringArray.Remove( N ) ;
-       m_dataArray.Remove( N ) ;
+       m_dataArray.RemoveAt( N ) ;
        m_noItems --;
        
        MacDelete( N ) ;