-#ifdef __WXMAC__
-void wxPageSetupDialogData::ConvertToNative()
-{
- m_printData.ConvertToNative();
- m_printData.m_nativePrintData->TransferFrom( this ) ;
-}
-
-void wxPageSetupDialogData::ConvertFromNative()
-{
- m_printData.ConvertFromNative ();
- m_paperSize = m_printData.GetPaperSize() ;
- CalculateIdFromPaperSize();
- m_printData.m_nativePrintData->TransferTo( this ) ;
- // adjust minimal values
-
- if ( m_marginTopLeft.x < m_minMarginTopLeft.x )
- m_marginTopLeft.x = m_minMarginTopLeft.x;
-
- if ( m_marginBottomRight.x < m_minMarginBottomRight.x )
- m_marginBottomRight.x = m_minMarginBottomRight.x;
-
- if ( m_marginTopLeft.y < m_minMarginTopLeft.y )
- m_marginTopLeft.y = m_minMarginTopLeft.y;
-
- if ( m_marginBottomRight.y < m_minMarginBottomRight.y )
- m_marginBottomRight.y = m_minMarginBottomRight.y;
-}
-#endif
-
-