fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ef0e92205a
commit
c933e267be
@ -53,9 +53,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef __WXMAC__
|
||||
#include "wx/mac/dcclient.h"
|
||||
#include "wx/mac/dcmemory.h"
|
||||
#include "wx/mac/dcscreen.h"
|
||||
#include "wx/osx/dcclient.h"
|
||||
#include "wx/osx/dcmemory.h"
|
||||
#include "wx/osx/dcscreen.h"
|
||||
#endif
|
||||
|
||||
#ifdef __WXPM__
|
||||
|
@ -31,7 +31,11 @@
|
||||
#include "wx/dcclient.h"
|
||||
|
||||
#ifdef __WXOSX__
|
||||
#include "ApplicationServices/ApplicationServices.h"
|
||||
#ifdef __WXOSX_IPHONE__
|
||||
#include <CoreGraphics/CoreGraphics.h>
|
||||
#else
|
||||
#include <ApplicationServices/ApplicationServices.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -32,7 +32,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef __WXMAC__
|
||||
#include "wx/mac/corefoundation/cfstring.h"
|
||||
#include "wx/osx/core/cfstring.h"
|
||||
#include <CoreFoundation/CFStringEncodingExt.h>
|
||||
|
||||
wxUint16 gMacEncodings[wxFONTENCODING_MACMAX-wxFONTENCODING_MACMIN+1][128] ;
|
||||
|
@ -56,7 +56,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(__WXMAC__)
|
||||
#include "wx/mac/private.h" // includes mac headers
|
||||
#include "wx/osx/private.h" // includes mac headers
|
||||
#endif
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
@ -96,10 +96,6 @@
|
||||
#define _MAXPATHLEN 1024
|
||||
#endif
|
||||
|
||||
#ifdef __WXMAC__
|
||||
// # include "MoreFilesX.h"
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// private globals
|
||||
// ----------------------------------------------------------------------------
|
||||
@ -878,7 +874,7 @@ wxString wxPathOnly (const wxString& path)
|
||||
// and back again - or we get nasty problems with delimiters.
|
||||
// Also, convert to lower case, since case is significant in UNIX.
|
||||
|
||||
#if defined(__WXMAC__)
|
||||
#if defined(__WXMAC__) && !defined(__WXOSX_IPHONE__)
|
||||
|
||||
#define kDefaultPathStyle kCFURLPOSIXPathStyle
|
||||
|
||||
@ -1661,7 +1657,7 @@ wxString wxGetOSDirectory()
|
||||
wxChar buf[256];
|
||||
GetWindowsDirectory(buf, 256);
|
||||
return wxString(buf);
|
||||
#elif defined(__WXMAC__)
|
||||
#elif defined(__WXMAC__) && !defined(__WXOSX_IPHONE__)
|
||||
return wxMacFindFolder(kOnSystemDisk, 'macs', false);
|
||||
#else
|
||||
return wxEmptyString;
|
||||
|
@ -93,7 +93,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(__WXMAC__)
|
||||
#include "wx/mac/private.h" // includes mac headers
|
||||
#include "wx/osx/private.h" // includes mac headers
|
||||
#endif
|
||||
|
||||
// utime() is POSIX so should normally be available on all Unices
|
||||
@ -1068,7 +1068,7 @@ wxString wxFileName::GetTempDir()
|
||||
// default
|
||||
#if defined(__DOS__) || defined(__OS2__)
|
||||
dir = _T(".");
|
||||
#elif defined(__WXMAC__)
|
||||
#elif defined(__WXMAC__) && !defined(__WXOSX_IPHONE__)
|
||||
dir = wxMacFindFolder(short(kOnSystemDisk), kTemporaryFolderType, kCreateFolder);
|
||||
#else
|
||||
dir = _T("/tmp");
|
||||
@ -2383,7 +2383,7 @@ wxString wxFileName::GetHumanReadableSize(const wxString &failmsg, int precision
|
||||
// Mac-specific functions
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#ifdef __WXMAC__
|
||||
#if defined( __WXMAC__ ) && !defined( __WXOSX_IPHONE__ )
|
||||
|
||||
const short kMacExtensionMaxLength = 16 ;
|
||||
class MacDefaultExtensionRecord
|
||||
|
@ -73,9 +73,9 @@
|
||||
#include "wx/filesys.h"
|
||||
|
||||
#if defined(__DARWIN__)
|
||||
#include "wx/mac/corefoundation/cfref.h"
|
||||
#include "wx/osx/core/cfref.h"
|
||||
#include <CoreFoundation/CFLocale.h>
|
||||
#include "wx/mac/corefoundation/cfstring.h"
|
||||
#include "wx/osx/core/cfstring.h"
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -49,7 +49,7 @@
|
||||
#if defined(__WXMSW__)
|
||||
#include "wx/msw/mimetype.h"
|
||||
#elif defined(__WXMAC__)
|
||||
#include "wx/mac/mimetype.h"
|
||||
#include "wx/osx/mimetype.h"
|
||||
#elif defined(__WXPM__) || defined (__EMX__)
|
||||
#include "wx/os2/mimetype.h"
|
||||
#undef __UNIX__
|
||||
|
@ -54,9 +54,9 @@
|
||||
#include "wx/msw/printdlg.h"
|
||||
#include "wx/msw/dcprint.h"
|
||||
#elif defined(__WXMAC__)
|
||||
#include "wx/mac/printdlg.h"
|
||||
#include "wx/mac/private/print.h"
|
||||
#include "wx/mac/dcprint.h"
|
||||
#include "wx/osx/printdlg.h"
|
||||
#include "wx/osx/private/print.h"
|
||||
#include "wx/osx/dcprint.h"
|
||||
#elif defined(__WXPM__)
|
||||
#include "wx/os2/dcprint.h"
|
||||
#include "wx/generic/prntdlgg.h"
|
||||
|
@ -53,7 +53,7 @@
|
||||
#include "wx/fontmap.h"
|
||||
|
||||
#ifdef __DARWIN__
|
||||
#include "wx/mac/corefoundation/private/strconv_cf.h"
|
||||
#include "wx/osx/core/private/strconv_cf.h"
|
||||
#endif //def __DARWIN__
|
||||
|
||||
|
||||
|
@ -84,10 +84,7 @@
|
||||
#endif // ! __WXPALMOS5__
|
||||
|
||||
#ifdef __WXMAC__
|
||||
#include "wx/mac/private.h"
|
||||
#ifndef __DARWIN__
|
||||
#include "InternetConfig.h"
|
||||
#endif
|
||||
#include "wx/osx/private.h"
|
||||
#endif
|
||||
|
||||
#ifndef __WXPALMOS5__
|
||||
@ -1054,7 +1051,7 @@ bool wxLaunchDefaultBrowser(const wxString& urlOrig, int flags)
|
||||
// NOTE: We need to call the real implementation from src/cocoa/utils.mm
|
||||
// because the code must use Objective-C features.
|
||||
return wxCocoaLaunchDefaultBrowser(url, flags);
|
||||
#elif defined(__WXMAC__)
|
||||
#elif defined(__WXMAC__) && !defined(__WXOSX_IPHONE__)
|
||||
wxCFRef< CFURLRef > curl( CFURLCreateWithString( kCFAllocatorDefault,
|
||||
wxCFStringRef( url ), NULL ) );
|
||||
OSStatus err = LSOpenCFURLRef( curl , NULL );
|
||||
|
@ -65,9 +65,9 @@ using namespace std ;
|
||||
#endif
|
||||
|
||||
#if defined(__DARWIN__)
|
||||
#include "wx/mac/corefoundation/cfref.h"
|
||||
#include "wx/osx/core/cfref.h"
|
||||
#include <CoreFoundation/CFLocale.h>
|
||||
#include "wx/mac/corefoundation/cfstring.h"
|
||||
#include "wx/osx/core/cfstring.h"
|
||||
#include <xlocale.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user