X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2b1753d162aa390080a005fcf3e8bbf7bf966a8..57e988b8ef1b1a845ee088a04d860c1ef79235ca:/include/wx/gtk1/dc.h diff --git a/include/wx/gtk1/dc.h b/include/wx/gtk1/dc.h index 84c79d7353..f7023538ab 100644 --- a/include/wx/gtk1/dc.h +++ b/include/wx/gtk1/dc.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dc.h +// Name: wx/gtk1/dc.h // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -7,19 +7,14 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __GTKDCH__ #define __GTKDCH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface -#endif - //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- -class wxDC; +class WXDLLIMPEXP_CORE wxDC; //----------------------------------------------------------------------------- // constants @@ -40,18 +35,20 @@ class wxDC; // wxDC //----------------------------------------------------------------------------- -class wxDC : public wxDCBase +class WXDLLIMPEXP_CORE wxDC : public wxDCBase { public: wxDC(); ~wxDC() { } +#if wxUSE_PALETTE void SetColourMap( const wxPalette& palette ) { SetPalette(palette); }; +#endif // wxUSE_PALETTE // Resolution in pixels per logical inch virtual wxSize GetPPI() const; - virtual bool StartDoc( const wxString& WXUNUSED(message) ) { return TRUE; } + virtual bool StartDoc( const wxString& WXUNUSED(message) ) { return true; } virtual void EndDoc() { } virtual void StartPage() { } virtual void EndPage() { }