Changeset 15 for psi/trunk/libpsi/psiwidgets
- Timestamp:
- Sep 5, 2006, 1:18:13 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
psi/trunk/libpsi/psiwidgets/fancypopup.cpp
r2 r15 162 162 163 163 FancyPopup::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 164 171 : QFrame( 0, 0, POPUP_FLAGS | WRepaintNoErase | WResizeNoErase | WDestructiveClose ) 172 #endif 165 173 { 166 174 d = new Private(this);
Note:
See TracChangeset
for help on using the changeset viewer.