native data printing code later.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30203
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void SetFilename( const wxString &filename ) { m_filename = filename; }
void operator=(const wxPrintData& data);
-
- wxPrintNativeDataBase *GetNativeData() const { return m_nativeData; }
-#if defined(__WXMAC__)
+ // Convert between wxPrintData and native data
void ConvertToNative();
void ConvertFromNative();
-#endif
+ // Holds the native print data
+ wxPrintNativeDataBase *GetNativeData() const { return m_nativeData; }
public:
#if defined(__WXMAC__)
}
-#ifdef __WXMAC__
void wxPrintData::ConvertToNative()
{
+#ifdef __WXMAC__
m_nativePrintData->TransferFrom( this ) ;
+#else
+ m_nativeData->TransferFrom( *this ) ;
+#endif
}
void wxPrintData::ConvertFromNative()
{
+#ifdef __WXMAC__
m_nativePrintData->TransferTo( this ) ;
-}
+#else
+ m_nativeData->TransferTo( *this ) ;
#endif
+}
void wxPrintData::operator=(const wxPrintData& data)
{