]> code.delx.au - gnu-emacs/commitdiff
(x_create_tip_frame): Fix Mac OS X 10.1 compilation problem due to newly defined...
authorSteven Tamm <steventamm@mac.com>
Sun, 6 Jun 2004 20:53:20 +0000 (20:53 +0000)
committerSteven Tamm <steventamm@mac.com>
Sun, 6 Jun 2004 20:53:20 +0000 (20:53 +0000)
src/macfns.c

index 92d729248c9f5679e4e2fc0748e49d8d045bae53..5c1b7770640ca98e0ef65053c658290c63143662 100644 (file)
@@ -3808,8 +3808,10 @@ x_create_tip_frame (dpyinfo, parms, text)
     BLOCK_INPUT;
     SetRect (&r, 0, 0, 1, 1);
     if (CreateNewWindow (kHelpWindowClass,
-                        kWindowNoActivatesAttribute
-                        | kWindowIgnoreClicksAttribute,
+#ifdef MAC_OS_X_VERSION_10_2
+                        kWindowIgnoreClicksAttribute |
+#endif
+                        kWindowNoActivatesAttribute,
                         &r, &tip_window) == noErr)
       {
        FRAME_MAC_WINDOW (f) = tip_window;