X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd5dd95757ce697f95a39cfc6f346fe93421bc36..622ea7838dd5ab898c7124f980edb62c390fb292:/include/wx/dc.h diff --git a/include/wx/dc.h b/include/wx/dc.h index 9b09a871a2..90fd7f6c94 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -1,9 +1,19 @@ +///////////////////////////////////////////////////////////////////////////// +// 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 // ---------------------------------------------------------------------------- @@ -66,7 +76,7 @@ public: m_mappingMode = wxMM_TEXT; - m_backgroundBrush = *wxWHITE_BRUSH; + m_backgroundBrush = *wxTRANSPARENT_BRUSH; m_textForegroundColour = *wxBLACK; m_textBackgroundColour = *wxWHITE; @@ -202,11 +212,11 @@ public: 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 // ------------------------------ @@ -538,6 +548,8 @@ private: #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