support compiling for iphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
80a12bd878
commit
afd5d91cae
@ -289,6 +289,41 @@
|
||||
#define wxOSX_USE_NATIVE_TOOLBAR 0
|
||||
#endif
|
||||
|
||||
#if wxUSE_RIBBON
|
||||
#undef wxUSE_RIBBON
|
||||
#define wxUSE_RIBBON 0
|
||||
#endif
|
||||
|
||||
#if wxUSE_INFOBAR
|
||||
#undef wxUSE_INFOBAR
|
||||
#define wxUSE_INFOBAR 0
|
||||
#endif
|
||||
|
||||
#if wxUSE_FILE_HISTORY
|
||||
#undef wxUSE_FILE_HISTORY
|
||||
#define wxUSE_FILE_HISTORY 0
|
||||
#endif
|
||||
|
||||
#if wxUSE_NOTIFICATION_MESSAGE
|
||||
#undef wxUSE_NOTIFICATION_MESSAGE
|
||||
#define wxUSE_NOTIFICATION_MESSAGE 0
|
||||
#endif
|
||||
|
||||
#if wxUSE_PROPGRID
|
||||
#undef wxUSE_PROPGRID
|
||||
#define wxUSE_PROPGRID 0
|
||||
#endif
|
||||
|
||||
#if wxUSE_WEBKIT
|
||||
#undef wxUSE_WEBKIT
|
||||
#define wxUSE_WEBKIT 0
|
||||
#endif
|
||||
|
||||
#if wxUSE_DATAOBJ
|
||||
#undef wxUSE_DATAOBJ
|
||||
#define wxUSE_DATAOBJ 0
|
||||
#endif
|
||||
|
||||
#endif
|
||||
/* _WX_OSX_IPHONE_CHKCONF_H_ */
|
||||
|
||||
|
@ -4,7 +4,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
CGImageRef grabViaOpenGL(CGDirectDisplayID display, CGRect srcRect);
|
||||
CGImageRef grabViaOpenGL(CGDirectDisplayID display,
|
||||
CGRect srcRect);
|
||||
|
||||
#if defined __cplusplus
|
||||
}
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
#include "wx/osx/private.h"
|
||||
|
||||
#ifdef __DARWIN__
|
||||
#if wxOSX_USE_COCOA_OR_CARBON
|
||||
#include <QuickTime/QuickTime.h>
|
||||
#endif
|
||||
|
||||
|
@ -11,6 +11,8 @@
|
||||
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#if wxOSX_USE_COCOA_OR_CARBON
|
||||
|
||||
#include "wx/icon.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
@ -361,3 +363,5 @@ bool wxICONResourceHandler::LoadFile(
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -10,6 +10,8 @@
|
||||
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#if wxOSX_USE_COCOA_OR_CARBON
|
||||
|
||||
#include "wx/region.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
@ -606,3 +608,5 @@ long wxRegionIterator::GetH() const
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -12,6 +12,8 @@
|
||||
// for compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#if wxOSX_USE_COCOA_OR_CARBON
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
@ -806,3 +808,5 @@ void wxRendererMac::DrawTitleBarBitmap(wxWindow *win,
|
||||
}
|
||||
|
||||
#endif // wxHAS_DRAW_TITLE_BAR_BITMAP
|
||||
|
||||
#endif
|
@ -30,6 +30,8 @@
|
||||
OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#if wxOSX_USE_COCOA_OR_CARBON
|
||||
|
||||
#import <CoreFoundation/CoreFoundation.h>
|
||||
#import <ApplicationServices/ApplicationServices.h>
|
||||
#import <OpenGL/OpenGL.h>
|
||||
@ -212,3 +214,4 @@ CGImageRef grabViaOpenGL(CGDirectDisplayID display, CGRect srcRect)
|
||||
return image;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -24,8 +24,7 @@
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
//DARWIN _ONLY_
|
||||
#ifdef __DARWIN__
|
||||
#if wxOSX_USE_COCOA_OR_CARBON
|
||||
|
||||
#include "wx/osx/core/hid.h"
|
||||
|
||||
|
@ -33,8 +33,6 @@
|
||||
#include "wx/msw/private.h"
|
||||
#elif defined(__WXMAC__)
|
||||
#include "wx/osx/private.h"
|
||||
// only for kThemeBrushToolbarBackground
|
||||
#include <Carbon/Carbon.h>
|
||||
#endif
|
||||
|
||||
wxRibbonAUIArtProvider::wxRibbonAUIArtProvider()
|
||||
|
Loading…
Reference in New Issue
Block a user