]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dc.h
deselect all items when SetSelection(-1) is called (patch 1506943)
[wxWidgets.git] / include / wx / gtk / dc.h
index b1f5d1a8baf7d462a2690cc073ecd86bc5b5b49a..daf2bdc1ecbbd0adb59c935492d6982bb34eb716 100644 (file)
@@ -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;