X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..dd0d56f5c7690b636c6139359dcefca235ffa8bd:/include/wx/gtk/dc.h diff --git a/include/wx/gtk/dc.h b/include/wx/gtk/dc.h index b1f5d1a8ba..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$ @@ -41,7 +41,9 @@ 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;