]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/scrolwin.cpp
DC change header change for wxMemoryDC and wxPostscriptDC.
[wxWidgets.git] / src / generic / scrolwin.cpp
index 139f45ed39c9b19343dedca259e1dffb903e8e48..acce71b175ffa94a82bbf65f99b4950138c97c01 100644 (file)
@@ -456,7 +456,8 @@ void wxScrolledWindow::Scroll( int x_pos, int y_pos )
         SetScrollPos( wxVERTICAL, m_yScrollPosition, TRUE );
     }
     
-    Refresh();
+    // BAD, BAD, can cause event loops if called from OnPaint(). (KB)
+    // Refresh();
     
 #ifdef __WXMSW__
     // Necessary?