diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index c4fbb95674..fc39dd6d16 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -203,7 +203,7 @@ bool wxScrollHelperEvtHandler::ProcessEvent(wxEvent& event) // normally, nothing more to do here - except if it was a paint event // which wasn't really processed, then we'll try to call our // OnDraw() below (from HandleOnPaint) - if ( !m_hasDrawnWindow ) + if ( m_hasDrawnWindow ) { return TRUE; }