virtual void DoNotifyFocusEvent(bool receivedFocus, wxWidgetImpl* otherWindow);
void SetFlipped(bool flipped);
- bool IsFlipped() const { return m_isFlipped; }
+ virtual bool IsFlipped() const { return m_isFlipped; }
// cocoa thunk connected calls
virtual void GetSize( int &width, int &height ) const = 0;
virtual void SetControlSize( wxWindowVariant variant ) = 0;
+ // native view coordinates are topleft to bottom right (flipped regarding CoreGraphics origin)
+ virtual bool IsFlipped() const { return true; }
+
virtual void SetNeedsDisplay( const wxRect* where = NULL ) = 0;
virtual bool GetNeedsDisplay() const = 0;
#if wxOSX_USE_CARBON
class WXDLLIMPEXP_FWD_CORE wxMacControl ;
typedef wxMacControl wxOSXWidgetImpl;
-#elif wxOSX_USE_COCOA
- class WXDLLIMPEXP_FWD_CORE wxWidgetCocoaImpl ;
- typedef wxWidgetCocoaImpl wxOSXWidgetImpl;
-#elif wxOSX_USE_IPHONE
- class WXDLLIMPEXP_FWD_CORE wxWidgetIPhoneImpl ;
- typedef wxWidgetIPhoneImpl wxOSXWidgetImpl;
+#elif wxOSX_USE_COCOA_OR_IPHONE
+ class WXDLLIMPEXP_FWD_CORE wxWidgetImpl ;
+ typedef wxWidgetImpl wxOSXWidgetImpl;
#endif