Ignore:
Timestamp:
Dec 3, 1999, 6:30:17 PM (26 years ago)
Author:
cbratschi
Message:

scroll: removed WS_* check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/scroll.cpp

    r1922 r1960  
    1 /* $Id: scroll.cpp,v 1.26 1999-12-01 18:23:28 cbratschi Exp $ */
     1/* $Id: scroll.cpp,v 1.27 1999-12-03 17:30:17 cbratschi Exp $ */
    22/*
    33 * Scrollbar control
     
    8585
    8686        if (!win32wnd) return 0;
     87//CB: I removed WS_* check due to problems, but it should work
    8788        if (nBar == SB_HORZ)
    88           return  (win32wnd->getStyle() & WS_HSCROLL) ? Win32BaseWindow::OS2ToWin32Handle(win32wnd->getHorzScrollHandle()):0;
     89          return /*(win32wnd->getStyle() & WS_HSCROLL) ?*/ Win32BaseWindow::OS2ToWin32Handle(win32wnd->getHorzScrollHandle())/*:0*/;
    8990        else
    90           return (win32wnd->getStyle() & WS_VSCROLL) ? Win32BaseWindow::OS2ToWin32Handle(win32wnd->getVertScrollHandle()):0;
     91          return /*(win32wnd->getStyle() & WS_VSCROLL) ?*/ Win32BaseWindow::OS2ToWin32Handle(win32wnd->getVertScrollHandle())/*:0*/;
    9192      }
    9293
Note: See TracChangeset for help on using the changeset viewer.