From 874bca74f55f686ded8f0b3d2df08196911f26f0 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 3 Jan 2011 16:50:34 +0000 Subject: 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 --- FL/mac.H | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'FL') diff --git a/FL/mac.H b/FL/mac.H index d85b63bc1..2c945a953 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -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 +// Standard MacOS C/C++ includes... +#include #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*); }; -- cgit v1.2.3