adapting const parameter convention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3f6eff1522
commit
d5f39e6305
@ -28,10 +28,10 @@ public:
|
||||
|
||||
virtual bool IsOk() const ;
|
||||
|
||||
virtual void TransferFrom( wxPageSetupDialogData * );
|
||||
virtual void TransferFrom( const wxPageSetupDialogData * );
|
||||
virtual void TransferTo( wxPageSetupDialogData * );
|
||||
|
||||
virtual void TransferFrom( wxPrintDialogData * );
|
||||
virtual void TransferFrom( const wxPrintDialogData * );
|
||||
virtual void TransferTo( wxPrintDialogData * );
|
||||
|
||||
PMPrintSession GetPrintSession() { return m_macPrintSession; }
|
||||
|
@ -412,7 +412,7 @@ bool wxOSXPrintData::TransferTo( wxPrintData &data )
|
||||
return true ;
|
||||
}
|
||||
|
||||
void wxOSXPrintData::TransferFrom( wxPageSetupDialogData *WXUNUSED(data) )
|
||||
void wxOSXPrintData::TransferFrom( const wxPageSetupDialogData *WXUNUSED(data) )
|
||||
{
|
||||
// should we setup the page rect here ?
|
||||
// since MacOS sometimes has two same paper rects with different
|
||||
@ -492,7 +492,7 @@ void wxOSXPrintData::TransferTo( wxPrintDialogData* data )
|
||||
}
|
||||
}
|
||||
|
||||
void wxOSXPrintData::TransferFrom( wxPrintDialogData* data )
|
||||
void wxOSXPrintData::TransferFrom( const wxPrintDialogData* data )
|
||||
{
|
||||
// Respect the value of m_printAllPages
|
||||
if ( data->GetAllPages() )
|
||||
|
Loading…
Reference in New Issue
Block a user