remove WXWIN_COMPATIBILITY_2_6, add WXWIN_COMPATIBILITY_3_0
closes #15792 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -382,23 +382,12 @@ public:
|
||||
// on the associated mutex object before returning.
|
||||
wxCondError Broadcast();
|
||||
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_6
|
||||
// deprecated version, don't use
|
||||
wxDEPRECATED( bool Wait(unsigned long milliseconds) );
|
||||
#endif // WXWIN_COMPATIBILITY_2_6
|
||||
|
||||
private:
|
||||
wxConditionInternal *m_internal;
|
||||
|
||||
wxDECLARE_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