]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing file paths after renaming
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 11 Jun 2008 19:22:25 +0000 (19:22 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 11 Jun 2008 19:22:25 +0000 (19:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dcbase.cpp
src/common/dcgraph.cpp
src/common/encconv.cpp
src/common/filefn.cpp
src/common/filename.cpp
src/common/intl.cpp
src/common/mimecmn.cpp
src/common/prntbase.cpp
src/common/strconv.cpp
src/common/utilscmn.cpp
src/common/wxcrt.cpp

index 45cb64b5c635b5068326bf723093ddf30f644064..1d0505599a89bd0d79b33fa16c36f60d63a70a28 100644 (file)
@@ -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__
index ee36df03b54d245cc4efee9ac236a0df300cd9b2..96516c4e5234baa3e89cb78affe88ac7c64546c3 100644 (file)
 #include "wx/dcclient.h"
 
 #ifdef __WXOSX__
-    #include "ApplicationServices/ApplicationServices.h"
+#ifdef __WXOSX_IPHONE__
+    #include <CoreGraphics/CoreGraphics.h>
+#else
+    #include <ApplicationServices/ApplicationServices.h>
+#endif
 #endif
 
 //-----------------------------------------------------------------------------
index da88c09d5227dccf783f70ab1d243d3fa5a06180..80642b96f16ceb4faa452ec8db39348eaf95f13e 100644 (file)
@@ -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] ;
index f0bfce34c25dd07167778085d2f564052eb50398..4308af2059d3afe10dd7a6ed9696e64477a9047f 100644 (file)
@@ -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__
     #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;
index 0f206a94b5bf1b58e0d8b50325e186d8a01ab839..d781b78685807b9bec251d0a95e99e8ed0d6b2bd 100644 (file)
@@ -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
index 8d0f5f9891b2c0535e7da70b3eafddc8b6b0a044..250ee8443c9a478e51c3f7157b8203f32cabbca9 100644 (file)
@@ -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
 
 // ----------------------------------------------------------------------------
index 539fd7a7a88076960f73d50bafdef8d44f82b1a6..006e1926d28c4bca1ad37e45f6cc7686b59e598f 100644 (file)
@@ -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__
index 6e98cfadac79fff34cab5e628a6e0776c6494247..e70b4f0b4c685ec355c3bc1ff4fa94f55e109b36 100644 (file)
@@ -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"
index 2e887046d31286a0e049aa84f0d4a9ef1e8ab847..507bf1307b042ea439a3e7afc6a8eefe23e392b8 100644 (file)
@@ -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__
 
 
index 2e8c64bfe64d7ec16e945346689ee98a3eb0f290..42d60c2c4d931bdace69807fb271a41150782abd 100644 (file)
 #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 );
index 9bd6305307d8caee59cd53b6b415c02a049c7925..5d42579e942ec25ae602c90b80a3f6f4055e1925 100644 (file)
@@ -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