rename method to prevent collision with some BSD definitions of macro Free()

(detected compiling mahogany)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-06-29 16:25:18 +00:00
parent 31d560bf7d
commit 4b651a4675
9 changed files with 26 additions and 23 deletions

View File

@@ -93,7 +93,8 @@ protected:
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 ;

View File

@@ -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;

View File

@@ -33,7 +33,8 @@ public:
bool Play(bool async = TRUE, bool looped = FALSE) const;
protected:
bool Free();
// prevent collision with some BSD definitions of macro Free()
bool FreeData();
private:
void* m_sndChan;