]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/data.cpp
wxWindow::Fit() infinite loop bug fixed
[wxWidgets.git] / src / msw / data.cpp
index e8302954e763b8de7940a5189486d290747beab0..dc3a9aa01807986a3222b3c5262d2c303f019581 100644 (file)
@@ -39,8 +39,8 @@ wxList WXDLLEXPORT wxPendingDelete;
 
 // List of events pending processing
 #if wxUSE_THREADS
-wxList wxPendingEvents;
-wxCriticalSection wxPendingEventsLocker;
+wxList *wxPendingEvents = NULL;
+wxCriticalSection *wxPendingEventsLocker = NULL;
 #endif
 
 // Current cursor, in order to hang on to
@@ -669,7 +669,6 @@ END_EVENT_TABLE()
 BEGIN_EVENT_TABLE(wxTextCtrl, wxControl)
     EVT_CHAR(wxTextCtrl::OnChar)
     EVT_DROP_FILES(wxTextCtrl::OnDropFiles)
-    EVT_ERASE_BACKGROUND(wxTextCtrl::OnEraseBackground)
 END_EVENT_TABLE()
 
 #ifdef __WXMSW__