]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/listbox.cpp
don't log mouse events by default
[wxWidgets.git] / src / mac / listbox.cpp
index e281c6a66e47d636736f3311deb7be6cfa9658cb..cb3a39dbd99f3a5c085d5148b0e3acd8cd7e2206 100644 (file)
@@ -32,7 +32,7 @@ BEGIN_EVENT_TABLE(wxListBox, wxControl)
 END_EVENT_TABLE()
 #endif
 
-#include <wx/mac/uma.h>
+#include "wx/mac/uma.h"
 
 extern "C" void MacDrawStringCell(Rect *cellRect, Cell lCell, ListHandle theList, long refCon) ;
 const short kwxMacListWithVerticalScrollbar = 128 ;
@@ -195,7 +195,7 @@ void wxListBox::Delete(int N)
 
 #if wxUSE_OWNER_DRAWN
     delete m_aItems[N];
-    m_aItems.Remove(N);
+    m_aItems.RemoveAt(N);
 #else // !wxUSE_OWNER_DRAWN
     if ( HasClientObjectData() )
     {