#include "wx/dc.h"
#include "wx/accel.h"
#include "wx/dcps.h"
+#include "wx/icon.h"
#define _MAXPATHLEN 500
/* Current cursor, in order to hang on to
* cursor handle when setting the cursor globally */
-wxCursor *g_globalCursor = (wxCursor *) NULL;
+wxCursor g_globalCursor;
/* Don't allow event propagation during drag */
bool g_blockEventsOnDrag = FALSE;
wxCursor *wxCROSS_CURSOR = (wxCursor *) NULL;
/* 'Null' objects */
-wxAcceleratorTable wxNullAcceleratorTable;
+#if wxUSE_ACCEL
+ wxAcceleratorTable wxNullAcceleratorTable;
+#endif // wxUSE_ACCEL
+
wxBitmap wxNullBitmap;
wxIcon wxNullIcon;
wxCursor wxNullCursor;