The 9 line patch to the Qt/Mac sources, below, needed to compile LyX on MacOSX is rendered unnecessary by the attached 13833 line patch to LyX ;-)
The patch wraps all of the dialog code inside namespace lyx::frontend and goes someway towards wrapping the rest of the frontend code inside the same namespace. Any objections to me committing this? Angus --- 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; -- Angus
namespace.diff.bz2
Description: BZip2 compressed data