char *wxBuffer = (char *) NULL;
/* Windows List */
-wxList wxTopLevelWindows;
+wxWindowList wxTopLevelWindows;
/* List of windows pending deletion */
wxList wxPendingDelete;
+#if wxUSE_THREADS
+/* List of events pending processing */
+wxList *wxPendingEvents = NULL;
+wxCriticalSection *wxPendingEventsLocker = NULL;
+#endif
+
/* Current cursor, in order to hang on to
* cursor handle when setting the cursor globally */
wxCursor *g_globalCursor = (wxCursor *) NULL;
/* For printing several pages */
int wxPageNumber;
-wxPrintPaperDatabase* wxThePrintPaperDatabase = (wxPrintPaperDatabase *) NULL;
+
+// Now in prntbase.cpp
+// wxPrintPaperDatabase* wxThePrintPaperDatabase = (wxPrintPaperDatabase *) NULL;
/* GDI Object Lists */
wxBrushList *wxTheBrushList = (wxBrushList *) NULL;
wxFontList *wxTheFontList = (wxFontList *) NULL;
wxColourDatabase *wxTheColourDatabase = (wxColourDatabase *) NULL;
wxBitmapList *wxTheBitmapList = (wxBitmapList *) NULL;
-
+
/* X only font names */
/*
wxFontNameDirectory *wxTheFontNameDirectory;
wxColour *wxBLACK;
wxColour *wxWHITE;
-wxColour *wxGREY;
+wxColour *wxGREY;
wxColour *wxRED;
wxColour *wxBLUE;
wxColour *wxGREEN;
/* 'Null' objects */
wxAcceleratorTable wxNullAcceleratorTable;
wxBitmap wxNullBitmap;
-wxIcon wxNullIcon;
+wxIcon wxNullIcon;
wxCursor wxNullCursor;
wxPen wxNullPen;
wxBrush wxNullBrush;
wxFont wxNullFont;
wxColour wxNullColour;
-wxPalette wxNullPalette;
+wxPalette wxNullPalette;
/* Default window names */
const char *wxButtonNameStr = "button";