Commit (HEAD): Re: Win32 Patch

From: Marc Maurer (j.m.maurer_at_student.utwente.nl)
Date: Tue Apr 20 2004 - 09:29:50 EDT

  • Next message: Dom Lachowicz: "Commit: Enchant listing dictionary work"

    Will backport later.

    Marc

    Fix Left Ruler from disapearing PageWidth zoom on Win32 (MPritchett)
                                                                                                                                             
    CVS:
    ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: src/wp/ap/win/ap_Win32LeftRuler.cpp
    CVS:
    ----------------------------------------------------------------------

    On Tue, 2004-04-20 at 03:41, Michael D. Pritchett wrote:
    > Hey Marc -
    >
    > This patch fixes some bad Win32 behavior. We don't need to trap WM_SIZE
    > messages for the left ruler and update the Width and Height. This all
    > happens in XP land. Doing so causes the left ruler to disappear in
    > PageWidth zoom.
    >
    > Removing this message trap appears to have no ill affects (note: not
    > used for top ruler).
    >
    > Cheers!
    >
    >
    > Michael D. Pritchett
    >
    > ______________________________________________________________________
    > Index: src/wp/ap/win/ap_Win32LeftRuler.cpp
    > ===================================================================
    > RCS file: /cvsroot/abi/src/wp/ap/win/ap_Win32LeftRuler.cpp,v
    > retrieving revision 1.19
    > diff -u -r1.19 ap_Win32LeftRuler.cpp
    > --- src/wp/ap/win/ap_Win32LeftRuler.cpp 18 Apr 2004 13:48:39 -0000 1.19
    > +++ src/wp/ap/win/ap_Win32LeftRuler.cpp 20 Apr 2004 01:31:50 -0000
    > @@ -205,16 +205,6 @@
    > case WM_RBUTTONDBLCLK:
    > return 0;
    >
    > - case WM_SIZE:
    > - {
    > - int nWidth = LOWORD(lParam);
    > - int nHeight = HIWORD(lParam);
    > -
    > - pRuler->setHeight(nHeight);
    > - pRuler->setWidth(nWidth);
    > - return 0;
    > - }
    > -
    > case WM_PAINT:
    > {
    > PAINTSTRUCT ps;

    -- 
    Marc Maurer <j.m.maurer_at_student.utwente.nl>
    


    This archive was generated by hypermail 2.1.4 : Tue Apr 20 2004 - 09:33:20 EDT