]> git.saurik.com Git - wxWidgets.git/commitdiff
use WXWIN_COMPATIBILITY_2_8 instead of WXWIN_COMPATIBILITY_2_6 for wxUsleep even...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 6 Jan 2009 20:25:31 +0000 (20:25 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 6 Jan 2009 20:25:31 +0000 (20:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/utils.h
src/common/utilscmn.cpp

index ba372dbfaf4ff8f5f8a37a8748f3b703bc9bd35c..8ff50f4a015198ce552853e0c5981e8d00bf398e 100644 (file)
@@ -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
index 82b05eece5ee21334b0b15b380e5e0772210ea18..bc45db3b2bb2b8cc19b8b212f3d54bca06a0ab32 100644 (file)
@@ -190,7 +190,7 @@ wxString wxNow()
 #endif
 }
 
-#if WXWIN_COMPATIBILITY_2_6
+#if WXWIN_COMPATIBILITY_2_8
 void wxUsleep(unsigned long milliseconds)
 {
     wxMilliSleep(milliseconds);