- ~wxPrintDialogData();
-
- int GetFromPage() const { return m_printFromPage; };
- int GetToPage() const { return m_printToPage; };
- int GetMinPage() const { return m_printMinPage; };
- int GetMaxPage() const { return m_printMaxPage; };
- int GetNoCopies() const { return m_printNoCopies; };
- bool GetAllPages() const { return m_printAllPages; };
- bool GetSelection() const { return m_printSelection; };
- bool GetCollate() const { return m_printCollate; };
- bool GetPrintToFile() const { return m_printToFile; };
- bool GetSetupDialog() const { return m_printSetupDialog; };
-
- void SetFromPage(int v) { m_printFromPage = v; };
- void SetToPage(int v) { m_printToPage = v; };
- void SetMinPage(int v) { m_printMinPage = v; };
- void SetMaxPage(int v) { m_printMaxPage = v; };
- void SetNoCopies(int v) { m_printNoCopies = v; };
- void SetAllPages(bool flag) { m_printAllPages = flag; };
- void SetSelection(bool flag) { m_printSelection = flag; };
- void SetCollate(bool flag) { m_printCollate = flag; };
- void SetPrintToFile(bool flag) { m_printToFile = flag; };
- void SetSetupDialog(bool flag) { m_printSetupDialog = flag; };
-
- void EnablePrintToFile(bool flag) { m_printEnablePrintToFile = flag; };
- void EnableSelection(bool flag) { m_printEnableSelection = flag; };
- void EnablePageNumbers(bool flag) { m_printEnablePageNumbers = flag; };
- void EnableHelp(bool flag) { m_printEnableHelp = flag; };
-
- bool GetEnablePrintToFile() const { return m_printEnablePrintToFile; };
- bool GetEnableSelection() const { return m_printEnableSelection; };
- bool GetEnablePageNumbers() const { return m_printEnablePageNumbers; };
- bool GetEnableHelp() const { return m_printEnableHelp; };
+ virtual ~wxPrintDialogData();
+
+ int GetFromPage() const { return m_printFromPage; }
+ int GetToPage() const { return m_printToPage; }
+ int GetMinPage() const { return m_printMinPage; }
+ int GetMaxPage() const { return m_printMaxPage; }
+ int GetNoCopies() const { return m_printNoCopies; }
+ bool GetAllPages() const { return m_printAllPages; }
+ bool GetSelection() const { return m_printSelection; }
+ bool GetCollate() const { return m_printCollate; }
+ bool GetPrintToFile() const { return m_printToFile; }
+
+ void SetFromPage(int v) { m_printFromPage = v; }
+ void SetToPage(int v) { m_printToPage = v; }
+ void SetMinPage(int v) { m_printMinPage = v; }
+ void SetMaxPage(int v) { m_printMaxPage = v; }
+ void SetNoCopies(int v) { m_printNoCopies = v; }
+ void SetAllPages(bool flag) { m_printAllPages = flag; }
+ void SetSelection(bool flag) { m_printSelection = flag; }
+ void SetCollate(bool flag) { m_printCollate = flag; }
+ void SetPrintToFile(bool flag) { m_printToFile = flag; }
+
+ void EnablePrintToFile(bool flag) { m_printEnablePrintToFile = flag; }
+ void EnableSelection(bool flag) { m_printEnableSelection = flag; }
+ void EnablePageNumbers(bool flag) { m_printEnablePageNumbers = flag; }
+ void EnableHelp(bool flag) { m_printEnableHelp = flag; }
+
+ bool GetEnablePrintToFile() const { return m_printEnablePrintToFile; }
+ bool GetEnableSelection() const { return m_printEnableSelection; }
+ bool GetEnablePageNumbers() const { return m_printEnablePageNumbers; }
+ bool GetEnableHelp() const { return m_printEnableHelp; }
+
+ // Is this data OK for showing the print dialog?
+ bool Ok() const { return IsOk(); }
+ bool IsOk() const { return m_printData.Ok() ; }