Merged 47182 from svn trunk:

Make wxCocoa compile in 64-bit mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2007-07-13 03:06:22 +00:00
parent 4084e91fe6
commit 65f7483bd6
9 changed files with 76 additions and 20 deletions

View File

@@ -15,7 +15,12 @@
#include "wx/hashmap.h"
#include "wx/cocoa/ObjcAssociate.h"
#if defined(__LP64__) || defined(NS_BUILD_32_LIKE_64)
typedef struct CGRect NSRect;
#else
typedef struct _NSRect NSRect;
#endif
class wxWindow;
WX_DECLARE_OBJC_HASHMAP(NSView);

View File

@@ -61,7 +61,7 @@ public:
wxBitmap *GetStipple() const;
WX_NSColor GetNSColor();
int GetCocoaLineDash(const float **pattern);
int GetCocoaLineDash(const CGFloat **pattern);
};
#endif // __WX_COCOA_PEN_H__

View File

@@ -14,7 +14,11 @@
#include "wx/generic/region.h"
#if defined(__LP64__) || defined(NS_BUILD_32_LIKE_64)
typedef struct CGRect NSRect;
#else
typedef struct _NSRect NSRect;
#endif
class WXDLLEXPORT wxRegion : public wxRegionGeneric
{

View File

@@ -17,7 +17,12 @@
// ========================================================================
// wxToolBar
// ========================================================================
#if defined(__LP64__) || defined(NS_BUILD_32_LIKE_64)
typedef struct CGPoint NSPoint;
#else
typedef struct _NSPoint NSPoint;
#endif
class wxToolBarTool;
class wxToolBar : public wxToolBarBase