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/qmotifstyle.cpp

    r7 r8  
    10041004            const QPopupMenu *popupmenu = (const QPopupMenu *) widget;
    10051005            QMenuItem *mi = opt.menuItem();
     1006           
     1007            // QPopupMenu has WResizeNoErase and WRepaintNoErase flags, so we
     1008            // must erase areas not covered by menu items (this is requested by
     1009            // QPopupMenu using 0 as the menu item argument).
     1010            // [Win32 version feels ok without this, because it doesn't actually
     1011            // fully obey WResizeNoErase and WRepaintNoErase: WM_ERASEBKGND always
     1012            // erases the background before WM_PAINT and after every resize].
     1013#if !defined (Q_WS_PM)
    10061014            if ( !mi )
    10071015                break;
     1016#endif
    10081017
    10091018            int tab = opt.tabWidth();
Note: See TracChangeset for help on using the changeset viewer.