#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;
/* Don't allow mouse event propagation during scroll */
bool g_blockEventsOnScroll = FALSE;
+/* TRUE when the message queue is empty. this gets set to
+ FALSE by all event callbacks before anything else is done */
+bool g_isIdle = FALSE;
+
/* Message Strings for Internationalization */
char **wx_msg_str = (char**)NULL;
wxCursor *wxCROSS_CURSOR = (wxCursor *) NULL;
/* 'Null' objects */
-wxAcceleratorTable wxNullAcceleratorTable;
+#if wxUSE_ACCEL
+ wxAcceleratorTable wxNullAcceleratorTable;
+#endif // wxUSE_ACCEL
+
wxBitmap wxNullBitmap;
wxIcon wxNullIcon;
wxCursor wxNullCursor;