Moved print dialog data conversion code
from cmndata to its msw place. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -307,19 +307,9 @@ public:
|
||||
void operator=(const wxPrintDialogData& data);
|
||||
void operator=(const wxPrintData& data); // Sets internal m_printData member
|
||||
|
||||
#ifdef __WXMSW__
|
||||
// Convert to/from the PRINTDLG structure
|
||||
#if defined(__WXMAC__)
|
||||
void ConvertToNative();
|
||||
void ConvertFromNative();
|
||||
void SetOwnerWindow(wxWindow* win);
|
||||
void* GetNativeData() const { return m_printDlgData; }
|
||||
#elif defined(__WXMAC__)
|
||||
void ConvertToNative();
|
||||
void ConvertFromNative();
|
||||
#endif
|
||||
|
||||
#ifdef __WXMSW__
|
||||
void* m_printDlgData;
|
||||
#endif
|
||||
|
||||
private:
|
||||
|
@@ -71,10 +71,18 @@ public:
|
||||
wxPrintData& GetPrintData() { return m_printDialogData.GetPrintData(); }
|
||||
virtual wxDC *GetPrintDC();
|
||||
|
||||
private:
|
||||
wxPrintDialogData m_printDialogData;
|
||||
wxDC* m_printerDC;
|
||||
bool m_destroyDC;
|
||||
wxWindow* m_dialogParent;
|
||||
|
||||
private:
|
||||
bool ConvertToNative( wxPrintDialogData &data );
|
||||
bool ConvertFromNative( wxPrintDialogData &data );
|
||||
|
||||
// holds MSW handle
|
||||
void* m_printDlg;
|
||||
|
||||
private:
|
||||
DECLARE_NO_COPY_CLASS(wxWindowsPrintDialog)
|
||||
|
Reference in New Issue
Block a user