diff --git a/interface/wx/thread.h b/interface/wx/thread.h index 61becf5847..3f304311b5 100644 --- a/interface/wx/thread.h +++ b/interface/wx/thread.h @@ -779,6 +779,8 @@ enum wxThreadError MyThread *m_pThread; wxCriticalSection m_pThreadCS; // protects the m_pThread pointer + friend class MyThread; // allow it to access our m_pThread + wxDECLARE_EVENT_TABLE(); };