X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd5dd95757ce697f95a39cfc6f346fe93421bc36..bcbc841d417b8365e869003bb0552166f3ece204:/include/wx/dc.h diff --git a/include/wx/dc.h b/include/wx/dc.h index 9b09a871a2..1b60a8e4df 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 // ------------------------------