Ignore:
Timestamp:
Nov 16, 2005, 8:36:46 PM (20 years ago)
Author:
dmik
Message:

Transferred Qt for OS/2 version 3.3.1-rc5 sources from the CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/styles/qcompactstyle.cpp

    r7 r8  
    152152            const QPopupMenu *popupmenu = (const QPopupMenu *) widget;
    153153            QMenuItem *mi = opt.menuItem();
     154           
     155            // QPopupMenu has WResizeNoErase and WRepaintNoErase flags, so we
     156            // must erase areas not covered by menu items (this is requested by
     157            // QPopupMenu using 0 as the menu item argument).
     158            // [Win32 version feels ok without this, because it doesn't actually
     159            // fully obey WResizeNoErase and WRepaintNoErase: WM_ERASEBKGND always
     160            // erases the background before WM_PAINT and after every resize].
     161#if !defined (Q_WS_PM)
    154162            if ( !mi )
    155163                break;
     164#endif
    156165
    157166            int tab = opt.tabWidth();
Note: See TracChangeset for help on using the changeset viewer.