+/////////////////////////////////////////////////////////////////////////////
+// Name: dc.h
+// Purpose: wxDC class
+// Author: Vadim Zeitlin
+// Modified by:
+// Created: 05/25/99
+// RCS-ID: $Id$
+// Copyright: (c) wxWindows team
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
#ifndef _WX_DC_H_BASE_
#define _WX_DC_H_BASE_
#ifdef __GNUG__
#pragma interface "dcbase.h"
- #pragma implementation "dcbase.h"
#endif
// ----------------------------------------------------------------------------
m_mappingMode = wxMM_TEXT;
- m_backgroundBrush = *wxWHITE_BRUSH;
+ m_backgroundBrush = *wxTRANSPARENT_BRUSH;
m_textForegroundColour = *wxBLACK;
m_textBackgroundColour = *wxWHITE;
virtual void Clear() = 0;
- virtual bool StartDoc(const wxString& message) = 0;
- virtual void EndDoc() = 0;
+ virtual bool StartDoc(const wxString& WXUNUSED(message)) { return TRUE; }
+ virtual void EndDoc() { }
- virtual void StartPage() = 0;
- virtual void EndPage() = 0;
+ virtual void StartPage() { }
+ virtual void EndPage() { }
// set objects to use for drawing
// ------------------------------
#include "wx/qt/dc.h"
#elif defined(__WXMAC__)
#include "wx/mac/dc.h"
+#elif defined(__WXPM__)
+ #include "wx/os2/dc.h"
#elif defined(__WXSTUBS__)
#include "wx/stubs/dc.h"
#endif