X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/888dde65f43d5f57e8fb2028b27191cca1741403..7a7697aafe33e958d60547c50b30d50fe3d3a454:/src/mac/carbon/printmac.cpp diff --git a/src/mac/carbon/printmac.cpp b/src/mac/carbon/printmac.cpp index a219a09bd2..b36d26916c 100644 --- a/src/mac/carbon/printmac.cpp +++ b/src/mac/carbon/printmac.cpp @@ -140,7 +140,7 @@ bool wxMacCarbonPrintData::TransferFrom( const wxPrintData &data ) // collate cannot be set #if 0 // not yet tested if ( !m_printerName.empty() ) - PMSessionSetCurrentPrinter( (PMPrintSession) m_macPrintSession , wxMacCFStringHolder( m_printerName , wxFont::GetDefaultEncoding() ) ) ; + PMSessionSetCurrentPrinter( (PMPrintSession) m_macPrintSession , wxCFStringRef( m_printerName , wxFont::GetDefaultEncoding() ) ) ; #endif #ifndef __LP64__ PMColorMode color ; @@ -222,7 +222,7 @@ bool wxMacCarbonPrintData::TransferTo( wxPrintData &data ) // collate cannot be set #if 0 { - wxMacCFStringHolder name ; + wxCFStringRef name ; PMPrinter printer ; PMSessionGetCurrentPrinter( m_macPrintSession , &printer ) ;