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:
Paul Cornett
2009-10-13 15:40:35 +00:00
parent cd644aa10f
commit 4d4ec2a507
2 changed files with 21 additions and 37 deletions

View File

@@ -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;