]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/dc.h
added wxArtProvider::InsertProvider to accompany PushProvider
[wxWidgets.git] / include / wx / gtk1 / dc.h
index b1f5d1a8baf7d462a2690cc073ecd86bc5b5b49a..f7023538ab8c7987c3b6e7357ea20a1cacf15abd 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dc.h
+// Name:        wx/gtk1/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;