From 96c410dceb2adff87f067e44310b269f51fa7e90 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 17 Jan 2011 23:52:32 +0000 Subject: Hiding the Fl_X class under WIN32 (STR #2522). Applied Manolo's patch, modified to use FL_INTERNALS for explicit request in user code to expose class Fl_X. Also changed X11 and Mac OS to use FL_INTERNALS. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8289 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/mac.H | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'FL/mac.H') diff --git a/FL/mac.H b/FL/mac.H index a3e83d64d..194caf7d3 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -3,7 +3,7 @@ // // Mac header file for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2010 by Bill Spitzak and others. +// Copyright 1998-2011 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -53,7 +53,7 @@ typedef void* Fl_Bitmask; // this is really a CGImageRef #define MAC_OS_X_VERSION_10_6 1060 #endif -#ifndef FL_LIBRARY // this part is used when compiling an application program +#if !(defined(FL_LIBRARY) || defined(FL_INTERNALS)) // this part is used when compiling an application program typedef void* Fl_Region; typedef void* Fl_CGContextRef; @@ -163,7 +163,7 @@ extern struct Fl_XMap { } *fl_current_xmap; extern FL_EXPORT Window fl_window; -#endif // FL_LIBRARY +#endif // FL_LIBRARY || FL_INTERNALS extern FL_EXPORT Fl_CGContextRef fl_gc; extern FL_EXPORT class Fl_Sys_Menu_Bar *fl_sys_menu_bar; -- cgit v1.2.3