X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1263dcfa3fb318e9a48bdbdfe548eb474ae5fde..dd0d56f5c7690b636c6139359dcefca235ffa8bd:/include/wx/gtk/dc.h diff --git a/include/wx/gtk/dc.h b/include/wx/gtk/dc.h index 6022c4d728..daf2bdc1ec 100644 --- a/include/wx/gtk/dc.h +++ b/include/wx/gtk/dc.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dc.h +// Name: wx/gtk/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,13 +35,15 @@ 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;