Changeset 153 for trunk/src/kernel/qwidget_pm.cpp
- Timestamp:
- Nov 13, 2006, 12:05:13 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel/qwidget_pm.cpp
r135 r153 941 941 */ 942 942 943 // strictly speaking, PM is not obliged to initialize window data 944 // with zeroes (although seems to), so do it ourselves 945 for ( LONG i = 0; i <= QT_EXTRAWINDATASIZE - 4; i += 4 ) 946 WinSetWindowULong( id, i, 0 ); 947 943 948 // When the FS_SHELLPOSITION flag is specified during WC_FRAME window 944 949 // creation its size and position remains zero until it is shown … … 1083 1088 QWidget *blockedBy = 0; 1084 1089 if ( isTopLevel() ) 1085 blockedBy = (QWidget*) WinQueryWindow ULong( winId(), QWL_QTMODAL );1090 blockedBy = (QWidget*) WinQueryWindowPtr( winId(), QWL_QTMODAL ); 1086 1091 if ( !blockedBy && parentWidget() ) 1087 blockedBy = (QWidget*) WinQueryWindow ULong(1092 blockedBy = (QWidget*) WinQueryWindowPtr( 1088 1093 parentWidget()->topLevelWidget()->winId(), QWL_QTMODAL ); 1089 1094 if ( blockedBy ) { … … 1151 1156 blockedBy = 0; 1152 1157 if ( parentWidget() ) 1153 blockedBy = (QWidget*) WinQueryWindow ULong(1158 blockedBy = (QWidget*) WinQueryWindowPtr( 1154 1159 parentWidget()->topLevelWidget()->winId(), QWL_QTMODAL ); 1155 1160 if ( blockedBy ) {
Note:
See TracChangeset
for help on using the changeset viewer.