Ignore:
Timestamp:
Sep 5, 2006, 1:18:13 AM (19 years ago)
Author:
dmik
Message:

libps/psiwidgetsi: Don't specify WRepaintNoErase and WResizeNoErase flags on OS/2 because these are real flags there (as opposed to other platforms when WRepaintNoErase is ineffective).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • psi/trunk/libpsi/psiwidgets/fancypopup.cpp

    r2 r15  
    162162
    163163FancyPopup::FancyPopup(QString title, const Icon *icon, FancyPopup *prev, bool copyIcon)
     164#ifdef Q_WS_PM
     165// r=dmik: Why should we specify WRepaintNoErase and WResizeNoErase flags?
     166// middlehbox->addSpacing(5) below leaves unpainted areas not covered by child
     167// widgets. On other platforms it works just because these flags are *ineffective*
     168// there (see the WM_ERASEBKGND handler in Qt/Win32); on OS/2 they are not.
     169: QFrame( 0, 0, POPUP_FLAGS )
     170#else
    164171: QFrame( 0, 0, POPUP_FLAGS | WRepaintNoErase | WResizeNoErase | WDestructiveClose )
     172#endif
    165173{
    166174        d = new Private(this);
Note: See TracChangeset for help on using the changeset viewer.