]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/data.cpp
Fixed doubled-up key effects in wxTextCtrl by resetting m_lastMsg to 0
[wxWidgets.git] / src / gtk1 / data.cpp
index 39b6114278adbf9bb23055133e919704121f5265..57e16d0916f4d5ef7c5a098036efa01f748d8cbd 100644 (file)
@@ -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;
+wxCriticalSection wxPendingEventsLocker;
+#endif
+
 /* Current cursor, in order to hang on to
  * cursor handle when setting the cursor globally */
 wxCursor *g_globalCursor = (wxCursor *) NULL;
@@ -69,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;
@@ -105,7 +111,7 @@ wxBrush *wxLIGHT_GREY_BRUSH;
 
 wxColour *wxBLACK;
 wxColour *wxWHITE;
-wxColour *wxGREY; 
+wxColour *wxGREY;
 wxColour *wxRED;
 wxColour *wxBLUE;
 wxColour *wxGREEN;
@@ -119,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";