- Timestamp:
- Dec 10, 2009, 10:30:10 PM (15 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/3rdparty/freetype/include/freetype/config/ftheader.h
r395 r412 171 171 * 172 172 */ 173 #if defined(__OS2__) && defined(__GNUC__) 174 # if__GNUC__ == 3 && __GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ == 5173 #if defined(__OS2__) && defined(__GNUC__) 174 __GNUC__ == 3 && __GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ == 5 175 175 // GCC for OS/2 version 3.3.5 CSD3 doesn't like the style of the 176 176 // comments in the ../3rdparty/freetype/include/freetype/freetype.h file … … 181 181 // Until we upgrade GCC to a version that is free of it, we use this sed'ed 182 182 // header as a temporary workaround. 183 # define FT_FREETYPE_H <freetype/freetype.os2-g++.h> 184 # else 185 // On a newer compiler that works, we should completely remove any traces of 186 // this workaround from this file 187 # error "Please check the comment above this line!" 188 # endif 183 # define FT_FREETYPE_H <freetype/freetype.os2-g++.h> 189 184 #else 190 185 #define FT_FREETYPE_H <freetype/freetype.h> -
trunk/src/gui/kernel/qapplication_pm.cpp
r387 r412 111 111 extern void qt_WinQueryClipRegionOrRect(HWND hwnd, HRGN hrgn); // qwidget_pm.cpp 112 112 113 114 113 115 extern QRegion qt_dirtyRegion(QWidget *); // qbackingstore.cpp 114 116 … … 156 158 } 157 159 158 static QFont qt_sysfont2qfont( const PSZ scope)160 static QFont qt_sysfont2qfont(SZ scope) 159 161 { 160 162 // note: 10.System Proportional is de-facto the default font selected into 161 163 // the presentation space 162 164 163 static const PSZ app = "PM_SystemFonts";164 static const PSZ def = "10.System Proportional";165 static SZ app = "PM_SystemFonts"; 166 static SZ def = "10.System Proportional"; 165 167 166 168 ULONG keyLen = 0; 167 QFont f( "System Proportional", 10);169 QFont f(, 10); 168 170 169 171 if (PrfQueryProfileSize(HINI_USERPROFILE, app, scope, &keyLen) && keyLen) { … … 1321 1323 WinSetPointer(HWND_DESKTOP, QCursor(Qt::ArrowCursor).handle()); 1322 1324 #endif // QT_NO_CURSOR 1323 } else if (type == WM_BUTTON1DOWN || type == type ==WM_BUTTON2DOWN ||1325 } else if (type == WM_BUTTON1DOWN || type == WM_BUTTON2DOWN || 1324 1326 type == WM_BUTTON3DOWN) { 1325 1327 if (!top->isActiveWindow()) { … … 2308 2310 repeat, scan, ch, (ch > 32 && ch < 254) ? 2309 2311 qPrintable(QString::fromLocal8Bit((char *)&ch, 1)) : 2310 qPrintable(QString(QChar( ' '))), vk);2312 qPrintable(QString(QChar())), vk); 2311 2313 QString flstr; 2312 2314 myDefFlagEx(fl, KC_CHAR, flstr, "CHAR"); -
trunk/src/gui/kernel/qclipboard_pm.cpp
r345 r412 68 68 69 69 QT_BEGIN_NAMESPACE 70 71 70 72 71 73 ////////////////////////////////////////////////////////////////////////////////
Note:
See TracChangeset
for help on using the changeset viewer.