#ifndef _WX_CHOICE_H_
#define _WX_CHOICE_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "choice.h"
#endif
virtual wxClientData* DoGetItemClientObject( int n ) const;
// free all memory we have (used by Clear() and dtor)
- void Free();
+ // prevent collision with some BSD definitions of macro Free()
+ void FreeData();
wxArrayString m_strings;
wxChoiceDataArray m_datas ;