// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c)
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_DOCH__
#else
# include <istream>
# include <ostream>
-# ifdef _MSC_VER
+# ifdef __VISUALC__
using namespace std;
# endif
#endif
{
DECLARE_ABSTRACT_CLASS(wxView)
public:
- wxView(wxDocument *doc = (wxDocument *) NULL);
+// wxView(wxDocument *doc = (wxDocument *) NULL);
+ wxView();
~wxView(void);
inline wxDocument *GetDocument(void) const { return m_viewDocument; }
// Override to do cleanup/veto close
virtual bool OnClose(bool deleteWindow);
+
+#if WXWIN_COMPATIBILITY
// Defeat compiler warning
- inline bool OnClose(void) { return wxEvtHandler::OnClose(); }
+ bool OnClose(void) { return wxEvtHandler::OnClose(); }
+#endif
// Extend event processing to search the document's event table
virtual bool ProcessEvent(wxEvent& event);
// The function then notifies the document manager.
virtual void Activate(bool activate);
- inline wxDocManager *GetDocumentManager(void) const { return m_viewDocument->GetDocumentManager(); }
+ wxDocManager *GetDocumentManager(void) const
+ { return m_viewDocument->GetDocumentManager(); }
#if wxUSE_PRINTING_ARCHITECTURE
virtual wxPrintout *OnCreatePrintout(void);
protected:
// Last n files
- char** m_fileHistory;
+ wxChar** m_fileHistory;
// Number of files saved
int m_fileHistoryN;
// Menus to maintain (may need several for an MDI app)