#ifndef WX_PRECOMP
#include "wx/window.h"
- #include "wx/app.h"
#include "wx/image.h"
#include "wx/bitmap.h"
#include "wx/log.h"
wxCursorRefData::~wxCursorRefData()
{
- if (m_cursor) gdk_cursor_unref( m_cursor );
+ if (m_cursor)
+ {
+#ifdef __WXGTK3__
+ g_object_unref(m_cursor);
+#else
+ gdk_cursor_unref(m_cursor);
+#endif
+ }
}
-
//-----------------------------------------------------------------------------
// wxCursor
//-----------------------------------------------------------------------------
// used in the following two ctors
extern GtkWidget *wxGetRootWindow();
-
wxCursor::wxCursor()
{
}