X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fcf715b5e37494222b89b6c46b65b65a99c1245..f114b8580b980c54e7b6194fe6494a86cb833907:/include/wx/mac/listbox.h diff --git a/include/wx/mac/listbox.h b/include/wx/mac/listbox.h index ff4be45527..8158bf6731 100644 --- a/include/wx/mac/listbox.h +++ b/include/wx/mac/listbox.h @@ -13,7 +13,7 @@ #ifndef _WX_LISTBOX_H_ #define _WX_LISTBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "listbox.h" #endif @@ -138,7 +138,8 @@ protected: bool HasMultipleSelection() const; // free memory (common part of Clear() and dtor) - void Free(); + // prevent collision with some BSD definitions of macro Free() + void FreeData(); int m_noItems; int m_selected;