X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83624f79609f0d5e240c1f7d77d044bfff9702fc..034be8882cc091cf8ca1ccdf307190ac73adfe54:/src/gtk1/data.cpp diff --git a/src/gtk1/data.cpp b/src/gtk1/data.cpp index e72ca64abd..ad7aff2b3a 100644 --- a/src/gtk1/data.cpp +++ b/src/gtk1/data.cpp @@ -17,7 +17,7 @@ #include "wx/window.h" #include "wx/dc.h" #include "wx/accel.h" -#include "wx/postscrp.h" +#include "wx/dcps.h" #define _MAXPATHLEN 500 @@ -33,11 +33,17 @@ 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 = 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; @@ -59,7 +65,9 @@ char *wxOsVersion = (char *) 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; @@ -67,9 +75,11 @@ wxPenList *wxThePenList = (wxPenList *) NULL; wxFontList *wxTheFontList = (wxFontList *) NULL; wxColourDatabase *wxTheColourDatabase = (wxColourDatabase *) NULL; wxBitmapList *wxTheBitmapList = (wxBitmapList *) NULL; - + /* X only font names */ +/* wxFontNameDirectory *wxTheFontNameDirectory; +*/ /* Stock objects */ wxFont *wxNORMAL_FONT; @@ -101,7 +111,7 @@ wxBrush *wxLIGHT_GREY_BRUSH; wxColour *wxBLACK; wxColour *wxWHITE; -wxColour *wxGREY; +wxColour *wxGREY; wxColour *wxRED; wxColour *wxBLUE; wxColour *wxGREEN; @@ -115,14 +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; -wxRegion wxNullRegion; +wxPalette wxNullPalette; /* Default window names */ const char *wxButtonNameStr = "button";