iOS fixes
This commit is contained in:
@@ -2718,6 +2718,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSArray);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(NSData);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(NSMutableArray);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(NSString);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(NSObject);
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
|
||||
@@ -2739,7 +2740,6 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSMenu);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(NSMenuExtra);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(NSMenuItem);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(NSNotification);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(NSObject);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(NSPanel);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(NSResponder);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(NSScrollView);
|
||||
|
@@ -257,7 +257,7 @@ wxBitmap wxWindowDCImpl::DoGetAsBitmap(const wxRect *subrect) const
|
||||
CGContextTranslateCTM( context, -subrect->x, -subrect->y ) ;
|
||||
|
||||
UIGraphicsPushContext(context);
|
||||
[ (NSView*) m_window->GetHandle() drawRect:CGRectMake(left, top, width, height ) ];
|
||||
[ (UIView*) m_window->GetHandle() drawRect:CGRectMake(left, top, width, height ) ];
|
||||
UIGraphicsPopContext();
|
||||
CGContextRestoreGState(context);
|
||||
|
||||
|
Reference in New Issue
Block a user