From: Julian Smart Date: Mon, 22 Apr 2002 10:32:41 +0000 (+0000) Subject: Fixed wxMotif compilo X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9b66c26ae7463a84a62de96f6e1dda1bebd42301 Fixed wxMotif compilo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index e05628749d..2e0fff3751 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -675,7 +675,7 @@ void wxScrollHelper::AdjustScrollbars() } if (!m_targetWindow->GetBackingPixmap() && - (noUnitsX != 0) && (noUnitsY != 0)) + (m_xScrollLines != 0) && (m_yScrollLines != 0)) { int depth = wxDisplayDepth(); m_targetWindow->SetPixmapWidth(totalPixelWidth);