]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/thread.h
Fixes to key codes in keyboard events generated by wxMSW.
[wxWidgets.git] / interface / wx / thread.h
index 996673001020c39717d0387f180bf65ec612c803..34d98462fdbe1b16bf89f26aa0031a3ac2ce1a95 100644 (file)
@@ -788,7 +788,7 @@ enum
 
             if (m_pThread)         // does the thread still exist?
             {
-                m_out.Printf("MYFRAME: deleting thread");
+                wxMessageOutputDebug().Printf("MYFRAME: deleting thread");
 
                 if (m_pThread->Delete() != wxTHREAD_NO_ERROR )
                     wxLogError("Can't delete the thread!");
@@ -1125,6 +1125,10 @@ public:
         of detached threads.
 
         This function can only be called from another thread context.
+        
+        Finally, note that once a thread has completed and its Entry() function
+        returns, you cannot call Run() on it again (an assert will fail in debug
+        builds or @c wxTHREAD_RUNNING will be returned in release builds).
     */
     wxThreadError Run();