use WXWIN_COMPATIBILITY_2_8 instead of WXWIN_COMPATIBILITY_2_6 for wxUsleep even if it was deprecated since wx2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8d740f7203
commit
24c4d27f2a
2 changed files with 2 additions and 2 deletions
|
|
@ -400,7 +400,7 @@ WXDLLIMPEXP_BASE void wxMilliSleep(unsigned long milliseconds);
|
|||
// Sleep for a given amount of microseconds
|
||||
WXDLLIMPEXP_BASE void wxMicroSleep(unsigned long microseconds);
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_6
|
||||
#if WXWIN_COMPATIBILITY_2_8
|
||||
// Sleep for a given amount of milliseconds (old, bad name), use wxMilliSleep
|
||||
wxDEPRECATED( WXDLLIMPEXP_BASE void wxUsleep(unsigned long milliseconds) );
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ wxString wxNow()
|
|||
#endif
|
||||
}
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_6
|
||||
#if WXWIN_COMPATIBILITY_2_8
|
||||
void wxUsleep(unsigned long milliseconds)
|
||||
{
|
||||
wxMilliSleep(milliseconds);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue