common type for native rectangle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -293,6 +293,8 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __OBJC__
|
#ifdef __OBJC__
|
||||||
|
|
||||||
|
typedef NSRect WXRect;
|
||||||
typedef void (*wxOSX_TextEventHandlerPtr)(NSView* self, SEL _cmd, NSString *event);
|
typedef void (*wxOSX_TextEventHandlerPtr)(NSView* self, SEL _cmd, NSString *event);
|
||||||
typedef void (*wxOSX_EventHandlerPtr)(NSView* self, SEL _cmd, NSEvent *event);
|
typedef void (*wxOSX_EventHandlerPtr)(NSView* self, SEL _cmd, NSEvent *event);
|
||||||
typedef BOOL (*wxOSX_PerformKeyEventHandlerPtr)(NSView* self, SEL _cmd, NSEvent *event);
|
typedef BOOL (*wxOSX_PerformKeyEventHandlerPtr)(NSView* self, SEL _cmd, NSEvent *event);
|
||||||
@@ -477,7 +479,7 @@ extern ClassicCursor gMacCursors[];
|
|||||||
|
|
||||||
extern NSLayoutManager* gNSLayoutManager;
|
extern NSLayoutManager* gNSLayoutManager;
|
||||||
|
|
||||||
#endif
|
#endif // wxUSE_GUI
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// _WX_PRIVATE_COCOA_H_
|
// _WX_PRIVATE_COCOA_H_
|
||||||
|
@@ -24,6 +24,8 @@
|
|||||||
|
|
||||||
#if wxUSE_GUI
|
#if wxUSE_GUI
|
||||||
|
|
||||||
|
typedef CGRect WXRect;
|
||||||
|
|
||||||
OSStatus WXDLLIMPEXP_CORE wxMacDrawCGImage(
|
OSStatus WXDLLIMPEXP_CORE wxMacDrawCGImage(
|
||||||
CGContextRef inContext,
|
CGContextRef inContext,
|
||||||
const CGRect * inBounds,
|
const CGRect * inBounds,
|
||||||
|
Reference in New Issue
Block a user