summaryrefslogtreecommitdiffstats
path: root/src/newt/native/NewtMacWindow.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-04-28 03:27:52 +0200
committerSven Gothel <[email protected]>2010-04-28 03:27:52 +0200
commita08c3c054a6b9cfe892d2516c66362083dc72290 (patch)
treec690a46026be97eb5e4b7f46c73ad3d34ef7cc97 /src/newt/native/NewtMacWindow.h
parentbb251c6e1089da4a247350371fff425abf093e1e (diff)
JOGL
- Passed tests MacOSX, LinuxX64 ATI/NVidia/MesaSW, Win32(VBox - !offscreen) - timeout -> 30s - Surface validation after lock on GLContextImpl .. NEWT - declare <NSWindowDelegate> only for MacOSX >= 10.6
Diffstat (limited to 'src/newt/native/NewtMacWindow.h')
-rw-r--r--src/newt/native/NewtMacWindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newt/native/NewtMacWindow.h b/src/newt/native/NewtMacWindow.h
index 560cfe408..4f0561dd5 100644
--- a/src/newt/native/NewtMacWindow.h
+++ b/src/newt/native/NewtMacWindow.h
@@ -55,7 +55,11 @@
@end
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
@interface NewtMacWindow : NSWindow <NSWindowDelegate>
+#else
+@interface NewtMacWindow : NSWindow
+#endif
{
}