return NULL;
}
-bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
+bool wxGetDiskSpace(const wxString& path, wxDiskspaceSize_t *pTotal, wxDiskspaceSize_t *pFree)
{
if ( path.empty() )
return false;
if ( noErr == err )
{
if ( pTotal )
- *pTotal = wxLongLong( totalBytes ) ;
+ *pTotal = wxDiskspaceSize_t( totalBytes ) ;
if ( pFree )
- *pFree = wxLongLong( freeBytes ) ;
+ *pFree = wxDiskspaceSize_t( freeBytes ) ;
}
}
}
return it whenever this function is called.
*/
-#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4
-#define kCGColorSpaceGenericRGB CFSTR("kCGColorSpaceGenericRGB")
-#endif
-
CGColorSpaceRef wxMacGetGenericRGBColorSpace()
{
static wxMacCFRefHolder<CGColorSpaceRef> genericRGBColorSpace ;
{
if ( UMAGetSystemVersion() >= 0x1040 )
{
- genericRGBColorSpace.Set( CGColorSpaceCreateWithName( kCGColorSpaceGenericRGB ) ) ;
+ genericRGBColorSpace.Set( CGColorSpaceCreateWithName( CFSTR("kCGColorSpaceGenericRGB") ) ) ;
}
else
{