X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a91b47e800c78dbf8e91191ce3977d148a13f1fe..4e4ea166d76da40eaa5fdcf9e958d93521f72fba:/src/generic/scrolwin.cpp diff --git a/src/generic/scrolwin.cpp b/src/generic/scrolwin.cpp index 139f45ed39..acce71b175 100644 --- a/src/generic/scrolwin.cpp +++ b/src/generic/scrolwin.cpp @@ -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?