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; }
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;