]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/docview.h
Added wxDataViewListCtrl, use it in the sample
[wxWidgets.git] / include / wx / docview.h
index a0fe1c40f2c8bf308172c559c656587434090520..6568e7654a34860ed96f68c2a7a4ac7dfe9f1b5f 100644 (file)
@@ -107,6 +107,10 @@ public:
     // modified to false)
     virtual bool OnSaveModified();
 
+    // if you override, remember to call the default 
+    // implementation (wxDocument::OnChangeFilename)
+    virtual void OnChangeFilename(bool notifyViews);
+
     // Called by framework if created automatically by the default document
     // manager: gives document a chance to initialise and (usually) create a
     // view
@@ -490,7 +494,7 @@ public:
                     const wxPoint& pos = wxDefaultPosition,
                     const wxSize& size = wxDefaultSize,
                     long type = wxDEFAULT_FRAME_STYLE,
-                    const wxString& name = wxT("frame"));
+                    const wxString& name = wxFrameNameStr);
     virtual ~wxDocChildFrame(){}
 
     void OnActivate(wxActivateEvent& event);