Add static SetNameForCurrent for setting name of non-wxThreads

Co-authored-by: PB <PBforDev@gmail.com>
This commit is contained in:
Lauri Nurmi
2021-11-02 19:53:29 +02:00
parent fc756d06a6
commit aace36b17f
4 changed files with 26 additions and 0 deletions

View File

@@ -596,6 +596,9 @@ public:
// Delete() instead (or leave the thread terminate by itself)
virtual ~wxThread();
// sets name to assist debugging
static bool SetNameForCurrent(const wxString &name);
protected:
// sets name to assist debugging
bool SetName(const wxString &name);