X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7214297d16aed4c160c1cbef6b19f153ca065ab7..22d5903e91cebda4d9614515b05cc9a894306278:/src/gtk1/data.cpp?ds=sidebyside diff --git a/src/gtk1/data.cpp b/src/gtk1/data.cpp index f8c868a247..ad7aff2b3a 100644 --- a/src/gtk1/data.cpp +++ b/src/gtk1/data.cpp @@ -33,15 +33,15 @@ XrmDatabase wxResourceDatabase; 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; -wxCriticalSection wxPendingEventsLocker; +wxList *wxPendingEvents = NULL; +wxCriticalSection *wxPendingEventsLocker = NULL; #endif /* Current cursor, in order to hang on to @@ -75,7 +75,7 @@ wxPenList *wxThePenList = (wxPenList *) NULL; wxFontList *wxTheFontList = (wxFontList *) NULL; wxColourDatabase *wxTheColourDatabase = (wxColourDatabase *) NULL; wxBitmapList *wxTheBitmapList = (wxBitmapList *) NULL; - + /* X only font names */ /* wxFontNameDirectory *wxTheFontNameDirectory; @@ -111,7 +111,7 @@ wxBrush *wxLIGHT_GREY_BRUSH; wxColour *wxBLACK; wxColour *wxWHITE; -wxColour *wxGREY; +wxColour *wxGREY; wxColour *wxRED; wxColour *wxBLUE; wxColour *wxGREEN; @@ -125,13 +125,13 @@ wxCursor *wxCROSS_CURSOR = (wxCursor *) NULL; /* '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";