]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/docview.h
Don't scroll too far if the child getting the focus is large.
[wxWidgets.git] / include / wx / docview.h
index de70706367f61e7c38799d5248e4a2f47366cf2a..ef574fd486e640ba4c627cdfc6b913b0305e1f75 100644 (file)
@@ -97,7 +97,7 @@ public:
     virtual wxInputStream& LoadObject(wxInputStream& stream);
 #endif
 
-    // Called by wxWindows
+    // Called by wxWidgets
     virtual bool OnSaveDocument(const wxString& filename);
     virtual bool OnOpenDocument(const wxString& filename);
     virtual bool OnNewDocument();
@@ -202,11 +202,6 @@ public:
     // Override to do cleanup/veto close
     virtual bool OnClose(bool deleteWindow);
 
-#if WXWIN_COMPATIBILITY
-    // Defeat compiler warning
-    bool OnClose() { return wxEvtHandler::OnClose(); }
-#endif
-
     // Extend event processing to search the document's event table
     virtual bool ProcessEvent(wxEvent& event);