diff options
| author | Manolo Gouy <Manolo> | 2011-11-12 13:06:54 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-11-12 13:06:54 +0000 |
| commit | 409afd29cc021db64c98dff1502c62206c1ed94e (patch) | |
| tree | 3686bd4da08ccff1eeb344926cac05ca0d7a3464 /FL/mac.H | |
| parent | 4fbc7664222c056f78ed5606774434e7b31ca119 (diff) | |
Mac OS: more accurate definition of the Window system-specific type.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9170 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/mac.H')
| -rw-r--r-- | FL/mac.H | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -25,7 +25,12 @@ # error "Never use <FL/mac.H> directly; include <FL/x.H> instead." #endif // !Fl_X_H -typedef void* Window; // this is really a pointer to the subclass FLWindow of NSWindow +#ifdef __OBJC__ +@class FLWindow; // a subclass of the NSWindow Cocoa class +typedef FLWindow *Window; +#else +typedef class FLWindow_opaque *Window; // pointer to the FLWindow objective-c class +#endif // __OBJC__ #if !(defined(FL_LIBRARY) || defined(FL_INTERNALS)) // this part is used when compiling an application program # include <FL/Fl_Widget.H> |
