diff options
| author | Manolo Gouy <Manolo> | 2011-01-03 16:50:34 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-03 16:50:34 +0000 |
| commit | 874bca74f55f686ded8f0b3d2df08196911f26f0 (patch) | |
| tree | f1d394945f49314ee4a8706a4b98daf8ec830ce8 /FL | |
| parent | bb6392f7ec94ba682ebade1d5b30eba9ff30ceb1 (diff) | |
Mac OS X: removed all uses of Carbon (except for older OS versions) and re-organized
text input around the NSTextInput protocol.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/mac.H | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -49,8 +49,8 @@ typedef void* Fl_PMPrintSession; #else // this part must be compiled when building the FLTK libraries -// Standard MacOS Carbon API includes... -#include <Carbon/Carbon.h> +// Standard MacOS C/C++ includes... +#include <ApplicationServices/ApplicationServices.h> #undef check // because of Fl::check() typedef CGContextRef Fl_CGContextRef; @@ -154,6 +154,7 @@ public: static CGContextRef nesw_cursor_image(void); static CGContextRef nwse_cursor_image(void); static CGContextRef none_cursor_image(void); + static void *get_carbon_function(const char *name); private: static void relink(Fl_Window*, Fl_Window*); }; |
