]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/htmprint.h
fixed memory leak in wxXmlResource introduced when fixing wxVector<> usage (patch...
[wxWidgets.git] / include / wx / html / htmprint.h
index da25bc28130fcf7c0f09c5df654c5b0c1916d7a3..ef37bb4957cfaa5cc646dc01507225a575630518 100644 (file)
@@ -256,6 +256,11 @@ public:
             // return page setting data objects.
             // (You can set their parameters.)
 
+    wxWindow* GetParentWindow() const { return m_ParentWindow; }
+            // get the parent window
+    void SetParentWindow(wxWindow* window) { m_ParentWindow = window; }
+            // set the parent window
+
 protected:
     virtual wxHtmlPrintout *CreatePrintout();
     virtual bool DoPreview(wxHtmlPrintout *printout1, wxHtmlPrintout *printout2);