X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6db90681cf0b58209a061561f5d3624f6eda8024..9b64e79868d4d32c3541bbd049d3f9f94c8edbfe:/include/wx/dc.h?ds=sidebyside diff --git a/include/wx/dc.h b/include/wx/dc.h index e6183bf8b9..90fd7f6c94 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -1,3 +1,14 @@ +///////////////////////////////////////////////////////////////////////////// +// 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_ @@ -65,7 +76,7 @@ public: m_mappingMode = wxMM_TEXT; - m_backgroundBrush = *wxWHITE_BRUSH; + m_backgroundBrush = *wxTRANSPARENT_BRUSH; m_textForegroundColour = *wxBLACK; m_textBackgroundColour = *wxWHITE; @@ -201,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 // ------------------------------ @@ -537,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