X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..22bfe96ca6b7248ab8161ec97963bca8e3be963e:/include/wx/docview.h diff --git a/include/wx/docview.h b/include/wx/docview.h index de70706367..11989e4c1a 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -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);