X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/547b93ab0418dac65dec147df08922d76ce351f9..9a74fcaf97f13a4be4c610a659acd8ea79dc363a:/include/wx/thread.h diff --git a/include/wx/thread.h b/include/wx/thread.h index 1b7717fc6c..7dd5cfa621 100644 --- a/include/wx/thread.h +++ b/include/wx/thread.h @@ -99,8 +99,6 @@ public: bool IsLocked() const { return (m_locked > 0); } protected: - friend class wxCondition; - // no assignment operator nor copy ctor wxMutex(const wxMutex&); wxMutex& operator=(const wxMutex&); @@ -237,6 +235,11 @@ public: // wakes up all threads waiting on this condition void Broadcast(); +#ifdef __WXDEBUG__ + // for debugging purposes only + void *GetId() const { return m_internal; } +#endif // __WXDEBUG__ + private: wxConditionInternal *m_internal; };