X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..f8ca3d720efa16fe5aba8872a39c042c9775b8f5:/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);