Make m_idleMutex an object instead of a pointer. Use bool for hook-installed flag, the actual hook id is not needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -14,10 +14,6 @@
|
||||
// classes
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_THREADS
|
||||
class WXDLLIMPEXP_FWD_BASE wxMutex;
|
||||
#endif
|
||||
|
||||
#if wxUSE_LIBHILDON || wxUSE_LIBHILDON2
|
||||
typedef struct _HildonProgram HildonProgram;
|
||||
#endif // wxUSE_LIBHILDON || wxUSE_LIBHILDON2
|
||||
@@ -81,7 +77,7 @@ private:
|
||||
bool m_isInAssert;
|
||||
|
||||
#if wxUSE_THREADS
|
||||
wxMutex* m_idleMutex;
|
||||
wxMutex m_idleMutex;
|
||||
#endif
|
||||
guint m_idleSourceId;
|
||||
|
||||
|
Reference in New Issue
Block a user