X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b89156b5dbb3c1270452379801a79613cd69bb32..6e4739a0e1e6b22dc33e5974cea0d5a4df89e815:/src/msw/thread.cpp?ds=sidebyside diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index 33ca0a645a..4cd91e87c0 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -233,7 +233,7 @@ void wxThread::SetPriority(int prio) p_internal->prio = prio; } -int wxThread::GetPriority() +int wxThread::GetPriority() const { return p_internal->prio; } @@ -275,7 +275,7 @@ unsigned long wxThread::GetID() const return (unsigned long)p_internal->tid; } -bool wxThread::IsMain() const +bool wxThread::IsMain() { return (GetCurrentThread() == p_mainid); }