GTK+ 1 compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-12-24 02:20:15 +00:00
parent 76471ff7f5
commit defdd88800
8 changed files with 32 additions and 14 deletions

View 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,