OSX regrouping

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2008-07-29 19:47:40 +00:00
parent f94a77989a
commit 26eef30437
9 changed files with 9 additions and 22 deletions

View File

@@ -1068,7 +1068,7 @@ wxString wxFileName::GetTempDir()
// default
#if defined(__DOS__) || defined(__OS2__)
dir = _T(".");
#elif defined(__WXMAC__) && !defined(__WXOSX_IPHONE__)
#elif defined(__WXMAC__) && wxOSX_USE_CARBON
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
// ----------------------------------------------------------------------------
#if defined( __WXMAC__ ) && !defined( __WXOSX_IPHONE__ )
#if defined( __WXOSX_MAC__ ) && wxOSX_USE_CARBON
const short kMacExtensionMaxLength = 16 ;
class MacDefaultExtensionRecord