]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/thread.h
SWIGged updates for wxGTK
[wxWidgets.git] / include / wx / thread.h
index 1b7717fc6cfa2c080c8b435f87c2ce9e88a53574..7dd5cfa6212558f56a0b1c83ab69e6eaf5bf77e8 100644 (file)
@@ -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;
 };