diff --git a/include/wx/cocoa/ObjcRef.h b/include/wx/cocoa/ObjcRef.h index 2af1c2598a..4e28712e89 100644 --- a/include/wx/cocoa/ObjcRef.h +++ b/include/wx/cocoa/ObjcRef.h @@ -9,6 +9,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#ifndef _WX_COCOA_OBJCREF_H__ +#define _WX_COCOA_OBJCREF_H__ /* wxObjcAutoRefFromAlloc: construct a reference to an object that was [NSObject -alloc]'ed and thus does not need a retain @@ -74,3 +76,4 @@ public: { return wxObjcAutoRefFromAlloc::operator=(otherRef); } }; +#endif //ndef _WX_COCOA_OBJCREF_H__