]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed wxMotif compilo
authorJulian Smart <julian@anthemion.co.uk>
Mon, 22 Apr 2002 10:32:41 +0000 (10:32 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 22 Apr 2002 10:32:41 +0000 (10:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/scrlwing.cpp

index e05628749d846bb4f201483352620fc39da5dd5c..2e0fff375165559a7c329a730508cda115adfe1b 100644 (file)
@@ -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);