#ifndef _WX_PRINTDLG_H_
#define _WX_PRINTDLG_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "printdlg.h"
-#endif
-
#if wxUSE_PRINTING_ARCHITECTURE
#include "wx/dialog.h"
#include "wx/prntbase.h"
#include "wx/printdlg.h"
-class WXDLLEXPORT wxDC;
+class WXDLLIMPEXP_FWD_CORE wxDC;
//----------------------------------------------------------------------------
// wxWindowsPrintNativeData
virtual bool TransferTo( wxPrintData &data );
virtual bool TransferFrom( const wxPrintData &data );
- virtual bool Ok() const;
+ virtual bool Ok() const { return IsOk(); }
+ virtual bool IsOk() const;
void* GetDevMode() const { return m_devMode; }
void SetDevMode(void* data) { m_devMode = data; }
void* GetDevNames() const { return m_devNames; }
void SetDevNames(void* data) { m_devNames = data; }
-
+
private:
void* m_devMode;
void* m_devNames;
+ short m_customWindowsPaperId;
+
private:
DECLARE_DYNAMIC_CLASS(wxWindowsPrintNativeData)
};
wxPrintDialogData& GetPrintDialogData() { return m_printDialogData; }
wxPrintData& GetPrintData() { return m_printDialogData.GetPrintData(); }
+
virtual wxDC *GetPrintDC();
private:
wxPrintDialogData m_printDialogData;
- wxDC* m_printerDC;
+ wxPrinterDC* m_printerDC;
bool m_destroyDC;
wxWindow* m_dialogParent;