X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/719ddf1e4ebb44e34aa6ad0af1788d03c9d1322b..8b180bded61df267e5f45f4ec0cccf6b52d36ae2:/include/wx/osx/iphone/private.h diff --git a/include/wx/osx/iphone/private.h b/include/wx/osx/iphone/private.h index d41cfdfb62..a65f3ee2bf 100644 --- a/include/wx/osx/iphone/private.h +++ b/include/wx/osx/iphone/private.h @@ -6,7 +6,7 @@ // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id: private.h 53819 2008-05-29 14:11:45Z SC $ +// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -14,8 +14,6 @@ #ifndef _WX_PRIVATE_IPHONE_H_ #define _WX_PRIVATE_IPHONE_H_ -#include "wx/osx/core/private.h" - #ifdef __OBJC__ #import #endif @@ -28,11 +26,12 @@ OSStatus WXDLLIMPEXP_CORE wxMacDrawCGImage( CGImageRef inImage) ; WX_UIImage WXDLLIMPEXP_CORE wxOSXGetUIImageFromCGImage( CGImageRef image ); +wxBitmap WXDLLIMPEXP_CORE wxOSXCreateSystemBitmap(const wxString& id, const wxString &client, const wxSize& size); class WXDLLIMPEXP_CORE wxWidgetIPhoneImpl : public wxWidgetImpl { public : - wxWidgetIPhoneImpl( wxWindowMac* peer , WXWidget w, bool isRootControl = false ) ; + wxWidgetIPhoneImpl( wxWindowMac* peer , WXWidget w, bool isRootControl = false, bool isUserPane = false ) ; wxWidgetIPhoneImpl() ; ~wxWidgetIPhoneImpl(); @@ -57,7 +56,8 @@ public : virtual void GetPosition( int &x, int &y ) const; virtual void GetSize( int &width, int &height ) const; virtual void SetControlSize( wxWindowVariant variant ); - + virtual float GetContentScaleFactor() const ; + virtual void SetNeedsDisplay( const wxRect* where = NULL ); virtual bool GetNeedsDisplay() const; @@ -173,7 +173,7 @@ public : // FIXME: Does iPhone have a concept of inactive windows? virtual bool IsActive() { return true; } - + wxNonOwnedWindow* GetWXPeer() { return m_wxPeer; } virtual bool InitialShowEventSent() { return m_initialShowSent; }