Ignore:
Timestamp:
Apr 2, 2003, 2:58:02 PM (22 years ago)
Author:
sandervl
Message:

YD: Changes for header updates + WM_SETTEXT button fix

File:
1 edited

Legend:

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

    r8629 r9974  
    1 /* $Id: button.cpp,v 1.46 2002-06-10 09:12:35 sandervl Exp $ */
     1/* $Id: button.cpp,v 1.47 2003-04-02 12:58:01 sandervl Exp $ */
    22/* File: button.cpp -- Button type widgets
    33 *
     
    335335  DWORD dwStyle = GetWindowLongA(hwnd,GWL_STYLE);
    336336
    337   DefWindowProcA(hwnd,WM_SETTEXT,wParam,lParam);
     337  LRESULT result = DefWindowProcA(hwnd,WM_SETTEXT,wParam,lParam);
    338338#ifdef __WIN32OS2__
    339339  BUTTONINFO* infoPtr = (BUTTONINFO*)GetInfoPtr(hwnd);
     
    367367  if (dwStyle & WS_VISIBLE) PAINT_BUTTON(hwnd,dwStyle & 0x0f,ODA_DRAWENTIRE);
    368368
    369   return 0;
     369  return result;
    370370}
    371371
Note: See TracChangeset for help on using the changeset viewer.