]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/scrolbar.cpp
renamed wxDynamicThisCast to wxDynamicCastThis, removed 1st parameter, and documented
[wxWidgets.git] / src / univ / scrolbar.cpp
index b0de2d829c1f06b4cf433eaa6532d2896fe1ad80..5526d7ef42b7a1f5aa4e9dede699ec25b0b4bbf3 100644 (file)
@@ -5,7 +5,7 @@
 // Modified by:
 // Created:     20.08.00
 // RCS-ID:      $Id$
-// Copyright:   (c) 2000 Vadim Zeitlin
+// Copyright:   (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
@@ -353,7 +353,7 @@ void wxScrollBar::OnIdle(wxIdleEvent& event)
             dc.DrawRectangle(rect);
 
             // under Unix we use "--sync" X option for this
-            #ifdef __WXMSW__
+            #if defined(__WXMSW__) && !defined(__WXMICROWIN__)
                 ::GdiFlush();
                 ::Sleep(200);
             #endif // __WXMSW__