]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/printdlg.h
Set svn properties on recently added files.
[wxWidgets.git] / interface / wx / printdlg.h
index 22ce950bf8b821d45fe6001c60250bbc571c6b87..630e03a0af3e7ee995730d3ff2d2f62878dfd82a 100644 (file)
@@ -18,7 +18,7 @@
 
     @see @ref overview_printing, @ref overview_cmndlg_print
 */
-class wxPrintDialog : public wxDialog
+class wxPrintDialog : public wxObject
 {
 public:
     /**
@@ -30,6 +30,7 @@ public:
         @see wxPrintDialogData
     */
     wxPrintDialog(wxWindow* parent, wxPrintDialogData* data = NULL);
+    wxPrintDialog(wxWindow *parent, wxPrintData* data);
 
     /**
         Destructor.
@@ -54,6 +55,12 @@ public:
     */
     virtual wxPrintDialogData& GetPrintDialogData();
 
+    /**
+       Returns the @ref overview_printing_printdata "print data" associated
+       with the print dialog.
+    */
+    virtual wxPrintData& GetPrintData();
+
     /**
         Shows the dialog, returning @c wxID_OK if the user pressed OK, and @c
         wxID_CANCEL otherwise.
@@ -89,7 +96,7 @@ public:
 
     @see @ref overview_printing, wxPrintDialog, wxPageSetupDialogData
 */
-class wxPageSetupDialog : public wxDialog
+class wxPageSetupDialog : public wxObject
 {
 public:
     /**