X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9746a2ba50fdfa914e0476cb31710f9ccb5cc3cc..26ac5fadeaa4081fb0e19909d6152f75c64090bb:/include/wx/docview.h diff --git a/include/wx/docview.h b/include/wx/docview.h index 563e12a3d6..45ed1c3be5 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -9,8 +9,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __DOCH__ -#define __DOCH__ +#ifndef _WX_DOCH__ +#define _WX_DOCH__ #ifdef __GNUG__ #pragma interface "docview.h" @@ -157,9 +157,6 @@ class WXDLLEXPORT wxView: public wxEvtHandler inline wxFrame *GetFrame(void) const { return m_viewFrame ; } inline void SetFrame(wxFrame *frame) { m_viewFrame = frame; } -#ifdef __WXGTK__ - inline void SetFrame(wxMDIChildFrame *frame) { m_viewFrame = (wxFrame*)frame; } -#endif virtual void OnActivateView(bool activate, wxView *activeView, wxView *deactiveView); virtual void OnDraw(wxDC *dc) = 0;