X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02f5e7631d2761bef8314a5b8da43d1eaff9da21..1e26459c5e72eb33485fe9919b2a4aaafd01e76b:/interface/wx/docview.h diff --git a/interface/wx/docview.h b/interface/wx/docview.h index 236215cba0..848c987dea 100644 --- a/interface/wx/docview.h +++ b/interface/wx/docview.h @@ -565,24 +565,6 @@ public: */ wxList& GetTemplates(); - /** - Create the frame used for print preview. - - This method can be overridden if you need to change the behaviour or - appearance of the preview window. By default, a standard wxPreviewFrame - is created. - - @since 2.9.1 - - @param preview The associated preview object. - @param parent The parent window for the frame. - @param title The suggested title for the print preview frame. - @return A new print preview frame, must not return @NULL. - */ - virtual wxPreviewFrame* CreatePreviewFrame(wxPrintPreviewBase* preview, - wxWindow* parent, - const wxString& title); - /** Initializes data; currently just calls OnCreateFileHistory(). @@ -778,6 +760,23 @@ protected: */ virtual void OnMRUFileNotExist(unsigned n, const wxString& filename); + /** + Create the frame used for print preview. + + This method can be overridden if you need to change the behaviour or + appearance of the preview window. By default, a standard wxPreviewFrame + is created. + + @since 2.9.1 + + @param preview The associated preview object. + @param parent The parent window for the frame. + @param title The suggested title for the print preview frame. + @return A new print preview frame, must not return @NULL. + */ + virtual wxPreviewFrame* CreatePreviewFrame(wxPrintPreviewBase* preview, + wxWindow* parent, + const wxString& title); /** The currently active view.