X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77b497a04a33b16bf55219643effd97ee54d8f33..cd34332fc40b7f43507ec3c724a3abb64d42ff7c:/include/wx/cmndata.h diff --git a/include/wx/cmndata.h b/include/wx/cmndata.h index ce6cf7c866..82768cc4e3 100644 --- a/include/wx/cmndata.h +++ b/include/wx/cmndata.h @@ -21,7 +21,7 @@ #include "wx/colour.h" #include "wx/gdicmn.h" -#if (defined(__WXMOTIF__) || defined(__WXGTK__)) && wxUSE_POSTSCRIPT +#if (defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXPM__)) && wxUSE_POSTSCRIPT class WXDLLEXPORT wxPrintSetupData; #endif @@ -156,7 +156,7 @@ class WXDLLEXPORT wxPrintData: public wxObject void operator=(const wxPrintData& data); // For compatibility -#if (defined(__WXMOTIF__) || defined(__WXGTK__)) && wxUSE_POSTSCRIPT +#if (defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXPM__)) && wxUSE_POSTSCRIPT void operator=(const wxPrintSetupData& setupData); #endif @@ -222,6 +222,7 @@ class WXDLLEXPORT wxPrintDialogData: public wxObject 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; }; @@ -232,6 +233,7 @@ class WXDLLEXPORT wxPrintDialogData: public wxObject 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; }; @@ -274,6 +276,7 @@ private: bool m_printAllPages; bool m_printCollate; bool m_printToFile; + bool m_printSelection; bool m_printEnableSelection; bool m_printEnablePageNumbers; bool m_printEnableHelp;