diff --git a/src/gtk/bitmap.cpp b/src/gtk/bitmap.cpp index d6d039b893..69fe0377df 100644 --- a/src/gtk/bitmap.cpp +++ b/src/gtk/bitmap.cpp @@ -644,7 +644,6 @@ wxImage wxBitmap::ConvertToImage() const { GdkPixmap* pixmap = GetPixmap(); GdkPixmap* pixmap_invert = NULL; -#if 0 if (GetDepth() == 1) { // mono bitmaps are inverted @@ -655,7 +654,6 @@ wxImage wxBitmap::ConvertToImage() const g_object_unref(gc); pixmap = pixmap_invert; } -#endif // create a pixbuf which shares data with the wxImage GdkPixbuf* pixbuf = gdk_pixbuf_new_from_data( data, GDK_COLORSPACE_RGB, false, 8, w, h, 3 * w, NULL, NULL);