git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56983 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
     // identifies a thread inside a process
     wxThreadIdType GetId() const;
 
+    wxThreadKind GetKind() const
+        { return m_isDetached ? wxTHREAD_DETACHED : wxTHREAD_JOINABLE; }
+
     // called when the thread exits - in the context of this thread
     //
     // NB: this function will not be called if the thread is Kill()ed
 
     */
     wxThreadIdType GetId() const;
 
+    /**
+        Returns the thread kind as it was given in the ctor.
+
+        @since 2.9.0
+    */
+    wxThreadKind GetKind() const;
+
     /**
         Gets the priority of the thread, between zero and 100.