Separated creation and initialisation of a document via its doc template.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -254,6 +254,10 @@ public:
|
||||
virtual wxDocument *CreateDocument(const wxString& path, long flags = 0);
|
||||
virtual wxView *CreateView(wxDocument *doc, long flags = 0);
|
||||
|
||||
// Helper method for CreateDocument; also allows you to do your own document
|
||||
// creation
|
||||
virtual bool InitDocument(wxDocument* doc, const wxString& path, long flags = 0);
|
||||
|
||||
wxString GetDefaultExtension() const { return m_defaultExt; };
|
||||
wxString GetDescription() const { return m_description; }
|
||||
wxString GetDirectory() const { return m_directory; };
|
||||
|
Reference in New Issue
Block a user