no 10.4 support anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
eb7df491e1
commit
93b802898d
@ -33,7 +33,6 @@ IMPLEMENT_CLASS(wxOSXCocoaPrintData, wxOSXPrintData)
|
||||
wxOSXCocoaPrintData::wxOSXCocoaPrintData()
|
||||
{
|
||||
m_macPrintInfo = [[NSPrintInfo alloc] init];
|
||||
// TODO add 10.4 code
|
||||
m_macPageFormat = (PMPageFormat) [m_macPrintInfo PMPageFormat];
|
||||
m_macPrintSettings = (PMPrintSettings) [m_macPrintInfo PMPrintSettings];
|
||||
m_macPrintSession = (PMPrintSession) [m_macPrintInfo PMPrintSession] ;
|
||||
@ -47,14 +46,12 @@ wxOSXCocoaPrintData::~wxOSXCocoaPrintData()
|
||||
|
||||
void wxOSXCocoaPrintData::UpdateFromPMState()
|
||||
{
|
||||
// TODO add 10.4 code
|
||||
[m_macPrintInfo updateFromPMPageFormat];
|
||||
[m_macPrintInfo updateFromPMPrintSettings];
|
||||
}
|
||||
|
||||
void wxOSXCocoaPrintData::UpdateToPMState()
|
||||
{
|
||||
// TODO add 10.4 code
|
||||
m_macPageFormat = (PMPageFormat) [m_macPrintInfo PMPageFormat];
|
||||
m_macPrintSettings = (PMPrintSettings) [m_macPrintInfo PMPrintSettings];
|
||||
m_macPrintSession = (PMPrintSession) [m_macPrintInfo PMPrintSession] ;
|
||||
|
Loading…
Reference in New Issue
Block a user