]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/thread.h
Avoid double free in wxComboBox::SetClientObject.
[wxWidgets.git] / include / wx / thread.h
index b3cc0a45f0b589fb5fe621fd2d34cfee1fda4ece..fb33bde0f89d20c9b1fb240e3027f4bc7eb37603 100644 (file)
@@ -732,7 +732,7 @@ public:
 
 #if wxUSE_THREADS
 
-#if defined(__WXMSW__) || defined(__WXMAC__) || defined(__WXPM__)
+#if defined(__WXMSW__) || defined(__WXMAC__) || defined(__WXPM__) || defined(__EMX__)
     // unlock GUI if there are threads waiting for and lock it back when
     // there are no more of them - should be called periodically by the main
     // thread