#if wxUSE_GUI
-WXDLLIMPEXP_CORE wxWindowMac * wxFindWindowFromWXWidget(WXWidget inControl );
-
#if wxOSX_USE_IPHONE
#include <CoreGraphics/CoreGraphics.h>
#else
class wxNotebook;
class wxTextCtrl;
+WXDLLIMPEXP_CORE wxWindowMac * wxFindWindowFromWXWidget(WXWidget inControl );
+
#if wxOSX_USE_CARBON
typedef wxMacControl wxWidgetImplType;
#else
typedef wxWidgetImpl wxWidgetImplType;
#endif
+#if wxUSE_MENUS
class wxMenuItemImpl : public wxObject
{
public :
DECLARE_ABSTRACT_CLASS(wxMenuItemImpl)
} ;
-
+#endif
class WXDLLIMPEXP_CORE wxWidgetImpl : public wxObject
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;