diff --git a/include/wx/utils.h b/include/wx/utils.h index ba372dbfaf..8ff50f4a01 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -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 diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 82b05eece5..bc45db3b2b 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -190,7 +190,7 @@ wxString wxNow() #endif } -#if WXWIN_COMPATIBILITY_2_6 +#if WXWIN_COMPATIBILITY_2_8 void wxUsleep(unsigned long milliseconds) { wxMilliSleep(milliseconds);