X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f06e0fea676e558dd010bda2e82822f7d9653771..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/osx/core/private.h?ds=inline diff --git a/include/wx/osx/core/private.h b/include/wx/osx/core/private.h index ca5405dcf8..cc2193377b 100644 --- a/include/wx/osx/core/private.h +++ b/include/wx/osx/core/private.h @@ -32,8 +32,6 @@ wxString WXDLLIMPEXP_CORE wxMacMakeStringFromPascal( const unsigned char * from #if wxUSE_GUI -WXDLLIMPEXP_CORE wxWindowMac * wxFindWindowFromWXWidget(WXWidget inControl ); - #if wxOSX_USE_IPHONE #include #else @@ -97,12 +95,15 @@ class wxWidgetImpl; 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 : @@ -163,7 +164,7 @@ protected : DECLARE_ABSTRACT_CLASS(wxMenuItemImpl) } ; - +#endif class WXDLLIMPEXP_CORE wxWidgetImpl : public wxObject @@ -204,6 +205,9 @@ public : 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;