summaryrefslogtreecommitdiff
path: root/FL/mac.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-04-28 22:02:48 +0000
committerManolo Gouy <Manolo>2015-04-28 22:02:48 +0000
commitf9fa74e3af0b53102ade659a7a2aa12ddf9ee9a3 (patch)
tree01b108a2daa98f5caa6dc3aa15c9067b95ae76fd /FL/mac.H
parent1c7daeca631f6bbf88b99f9ecd79a5cedd64f550 (diff)
Restored the possibility to call Fl::set_font()
in a global initializer (before main() starts). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/mac.H')
-rw-r--r--FL/mac.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/mac.H b/FL/mac.H
index ff8efc155..42247b4a8 100644
--- a/FL/mac.H
+++ b/FL/mac.H
@@ -197,6 +197,7 @@ public:
static const int CoreText_threshold; // Mac OS version from which the Core Text API is used to display text
static Fl_Fontdesc* calc_fl_fonts(void); // computes the fl_fonts global variable
static int dnd(int use_selection); // call Fl_X::dnd(1) to support text dragging
+ static int calc_mac_os_version(void); // computes the fl_mac_os_version global variable
private:
#if FLTK_ABI_VERSION >= 10304
CGRect* subRect_; // makes sure subwindow remains inside its parent window