/////////////////////////////////////////////////////////////////////////////
-// Name: cursor.cpp
+// Name: src/gtk/cursor.cpp
// Purpose:
// Author: Robert Roebling
// Id: $Id$
#include "wx/wxprec.h"
#include "wx/cursor.h"
-#include "wx/utils.h"
-#include "wx/app.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/app.h"
+ #include "wx/utils.h"
+#endif // WX_PRECOMP
#include "wx/gtk/private.h" //for idle stuff
data, mask, fg->GetColor(), bg->GetColor(),
hotSpotX, hotSpotY );
- g_object_unref (G_OBJECT (data));
- g_object_unref (G_OBJECT (mask));
+ g_object_unref (data);
+ g_object_unref (mask);
}
#if wxUSE_IMAGE
hotSpotX, hotSpotY
);
- g_object_unref (G_OBJECT (data));
- g_object_unref (G_OBJECT (mask));
+ g_object_unref (data);
+ g_object_unref (mask);
delete [] bits;
delete [] maskBits;
}