summaryrefslogtreecommitdiff
path: root/fluid/Fl_Widget_Type.h
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2000-05-16 12:26:07 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2000-05-16 12:26:07 +0000
commit74198871a67e9ca1bdc46fc9b57ac4b09649eddf (patch)
treed8abdfa9be21febda997d3c88b08e919729acce3 /fluid/Fl_Widget_Type.h
parent3f177d70dee93b576efb7807107dd66302ca5de4 (diff)
I18N didn't work right for menus - the messages numbers were wrong.
Added new "msgnum()" method to Fl_Type to handle computing the message number on the fly. Now initialize nl_catd and locale settings directly in the static variables so that menu labels are correctly looked up. This hack shouldn't be necessary in 2.0... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1124 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Widget_Type.h')
-rw-r--r--fluid/Fl_Widget_Type.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/Fl_Widget_Type.h b/fluid/Fl_Widget_Type.h
index add699ee5..67b015a81 100644
--- a/fluid/Fl_Widget_Type.h
+++ b/fluid/Fl_Widget_Type.h
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Widget_Type.h,v 1.4.2.1 1999/03/29 17:39:26 carl Exp $"
+// "$Id: Fl_Widget_Type.h,v 1.4.2.2 2000/05/16 12:26:05 mike Exp $"
//
// Widget type header file for the Fast Light Tool Kit (FLTK).
//
@@ -7,7 +7,7 @@
// This should have the widget pointer in it, but it is still in the
// Fl_Type base class.
//
-// Copyright 1998-1999 by Bill Spitzak and others.
+// Copyright 1998-2000 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
@@ -36,5 +36,5 @@ void* const LOAD = (void *)9831;
extern Fl_Widget_Type *current_widget; // one of the selected ones
//
-// End of "$Id: Fl_Widget_Type.h,v 1.4.2.1 1999/03/29 17:39:26 carl Exp $".
+// End of "$Id: Fl_Widget_Type.h,v 1.4.2.2 2000/05/16 12:26:05 mike Exp $".
//