]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/cursor.cpp
fixed bug with not taking background colour into account introduced in 1.24
[wxWidgets.git] / src / gtk / cursor.cpp
index 2d237ec192a1ce6e1fd625200f0ba202c2548706..9f7329bfeea6730ad7b83060503057e148f855a3 100644 (file)
@@ -40,7 +40,7 @@ wxCursorRefData::wxCursorRefData()
 
 wxCursorRefData::~wxCursorRefData()
 {
-    if (m_cursor) gdk_cursor_destroy( m_cursor );
+    if (m_cursor) gdk_cursor_unref( m_cursor );
 }
 
 //-----------------------------------------------------------------------------