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:
parent
a485823cb7
commit
0d6d012936
@ -293,6 +293,8 @@ public:
|
||||
};
|
||||
|
||||
#ifdef __OBJC__
|
||||
|
||||
typedef NSRect WXRect;
|
||||
typedef void (*wxOSX_TextEventHandlerPtr)(NSView* self, SEL _cmd, NSString *event);
|
||||
typedef void (*wxOSX_EventHandlerPtr)(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;
|
||||
|
||||
#endif
|
||||
#endif // wxUSE_GUI
|
||||
|
||||
#endif
|
||||
// _WX_PRIVATE_COCOA_H_
|
||||
|
@ -24,6 +24,8 @@
|
||||
|
||||
#if wxUSE_GUI
|
||||
|
||||
typedef CGRect WXRect;
|
||||
|
||||
OSStatus WXDLLIMPEXP_CORE wxMacDrawCGImage(
|
||||
CGContextRef inContext,
|
||||
const CGRect * inBounds,
|
||||
|
Loading…
Reference in New Issue
Block a user