]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/thread.h
Fix a very annoying autorelease pool memory leak.
[wxWidgets.git] / include / wx / thread.h
index 086007f82623a10382460acaf9cabc8fcaa2e4af..6806d82feafab53f6304c11f28993470bed7bff4 100644 (file)
@@ -614,6 +614,8 @@ protected:
     // of this thread.
     virtual void *Entry() = 0;
 
+    // use this to call the Entry() virtual method
+    void *CallEntry();
 
     // Callbacks which may be overridden by the derived class to perform some
     // specific actions when the thread is deleted or killed. By default they