]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/cursor.cpp
added support for <bg> tag for toolbars in XRC
[wxWidgets.git] / src / gtk / cursor.cpp
index 1421608aa92021e84d297a779adb7cdee28a56dc..f277f4b0c9750e88cc65fd94dd00eeb5fcc01290 100644 (file)
@@ -69,7 +69,7 @@ wxCursor::wxCursor( int cursorId )
         case wxCURSOR_BLANK:
             {
                 static const gchar bits[] = { 0 };
-                static const GdkColor color = { 0, 0, 0, 0 };
+                static /* const -- not in GTK1 */ GdkColor color = { 0, 0, 0, 0 };
 
                 GdkPixmap *pixmap = gdk_bitmap_create_from_data(NULL, bits, 1, 1);
                 M_CURSORDATA->m_cursor = gdk_cursor_new_from_pixmap(pixmap,