Deprecated and obsolete parts marked up for backward compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -349,9 +349,10 @@ public:
|
||||
wxCondError Broadcast();
|
||||
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_6
|
||||
// deprecated version, don't use
|
||||
bool Wait(unsigned long milliseconds)
|
||||
{ return WaitTimeout(milliseconds) == wxCOND_NO_ERROR; }
|
||||
wxDEPRECATED( bool Wait(unsigned long milliseconds) );
|
||||
#endif // WXWIN_COMPATIBILITY_2_6
|
||||
|
||||
private:
|
||||
wxConditionInternal *m_internal;
|
||||
@@ -359,6 +360,11 @@ private:
|
||||
DECLARE_NO_COPY_CLASS(wxCondition)
|
||||
};
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_6
|
||||
inline bool wxCondition::Wait(unsigned long milliseconds)
|
||||
{ return WaitTimeout(milliseconds) == wxCOND_NO_ERROR; }
|
||||
#endif // WXWIN_COMPATIBILITY_2_6
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxSemaphore: a counter limiting the number of threads concurrently accessing
|
||||
// a shared resource
|
||||
|
Reference in New Issue
Block a user