lyx_mirror/development/MacOSX/qt.patch
Jean-Marc Lasgouttes 51be22303c small osx tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@8061 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-07 15:12:18 +00:00

33 lines
1.3 KiB
Diff

--- src/kernel/qapplication_mac.cpp.orig Thu Jun 19 01:35:24 2003
+++ src/kernel/qapplication_mac.cpp Thu Jul 3 08:29:41 2003
@@ -1026,6 +1026,7 @@
{ '}', MAP_KEY(Qt::Key_BraceRight) },
{ '|', MAP_KEY(Qt::Key_Bar) },
{ '~', MAP_KEY(Qt::Key_AsciiTilde) },
+{ '^', MAP_KEY(Qt::Key_AsciiCircum) },
//terminator
{ 0, MAP_KEY(0) } };
--- src/kernel/qwindowdefs.h.orig Wed Jun 11 01:50:44 2003
+++ src/kernel/qwindowdefs.h Thu Jul 3 08:27:36 2003
@@ -101,7 +101,7 @@
#ifndef Q_WS_MACX
typedef struct CGContext *CGContextRef;
#endif
-typedef struct OpaqueControlRef *ControlRef;
+// typedef struct OpaqueControlRef *ControlRef;
typedef struct OpaqueWindowGroupRef *WindowGroupRef;
typedef struct OpaqueGrafPtr *CGrafPtr;
typedef struct OpaquePMPrintSession *PMPrintSession;
--- src/tools/qglobal.cpp.orig Thu Nov 6 22:39:39 2003
+++ src/tools/qglobal.cpp Fri Nov 7 07:42:23 2003
@@ -161,7 +161,7 @@
first = FALSE;
long gestalt_version;
if(Gestalt(gestaltSystemVersion, &gestalt_version) == noErr) {
- if(gestalt_version >= 0x1020 && gestalt_version < 0x1030)
+ if(gestalt_version >= 0x1020 && gestalt_version < 0x1040)
macver = Qt::MV_10_DOT_2;
else if(gestalt_version >= 0x1010 && gestalt_version < 0x1020)
macver = Qt::MV_10_DOT_1;