X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/886dd7d28e50c003cc88b81b968d487a3c17b0d7..5bc97d1b81910a82e249f6227798b42089149f94:/include/wx/memory.h diff --git a/include/wx/memory.h b/include/wx/memory.h index 89f6d7e25e..6b1bed37cd 100644 --- a/include/wx/memory.h +++ b/include/wx/memory.h @@ -12,7 +12,7 @@ #ifndef _WX_MEMORYH__ #define _WX_MEMORYH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "memory.h" #endif @@ -30,8 +30,8 @@ #ifdef __WXDEBUG__ -WXDLLEXPORT_BASE void * wxDebugAlloc(size_t size, wxChar * fileName, int lineNum, bool isObject, bool isVect = FALSE); -WXDLLEXPORT_BASE void wxDebugFree(void * buf, bool isVect = FALSE); +WXDLLIMPEXP_BASE void * wxDebugAlloc(size_t size, wxChar * fileName, int lineNum, bool isObject, bool isVect = FALSE); +WXDLLIMPEXP_BASE void wxDebugFree(void * buf, bool isVect = FALSE); //********************************************************************************** /* @@ -124,9 +124,9 @@ typedef unsigned int wxMarkerType; allocated memory. */ -class WXDLLEXPORT_BASE wxMemStruct { +class WXDLLIMPEXP_BASE wxMemStruct { -friend class WXDLLEXPORT_BASE wxDebugContext; // access to the m_next pointer for list traversal. +friend class WXDLLIMPEXP_BASE wxDebugContext; // access to the m_next pointer for list traversal. public: public: @@ -202,7 +202,7 @@ typedef void (wxMemStruct::*PmSFV) (); globals which have to do with the wxMemStruct class. */ -class WXDLLEXPORT_BASE wxDebugContext { +class WXDLLIMPEXP_BASE wxDebugContext { protected: // Used to set alignment for markers. @@ -300,8 +300,8 @@ private: }; // Output a debug message, in a system dependent fashion. -void WXDLLEXPORT_BASE wxTrace(const wxChar *fmt ...) ATTRIBUTE_PRINTF_1; -void WXDLLEXPORT_BASE wxTraceLevel(int level, const wxChar *fmt ...) ATTRIBUTE_PRINTF_2; +void WXDLLIMPEXP_BASE wxTrace(const wxChar *fmt ...) ATTRIBUTE_PRINTF_1; +void WXDLLIMPEXP_BASE wxTraceLevel(int level, const wxChar *fmt ...) ATTRIBUTE_PRINTF_2; #define WXTRACE wxTrace #define WXTRACELEVEL wxTraceLevel