From 74198871a67e9ca1bdc46fc9b57ac4b09649eddf Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 16 May 2000 12:26:07 +0000 Subject: 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 --- fluid/Fl_Window_Type.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fluid/Fl_Window_Type.cxx') diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx index 59637e3db..d935142aa 100644 --- a/fluid/Fl_Window_Type.cxx +++ b/fluid/Fl_Window_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Window_Type.cxx,v 1.13.2.6 2000/04/25 01:57:50 mike Exp $" +// "$Id: Fl_Window_Type.cxx,v 1.13.2.7 2000/05/16 12:26:05 mike Exp $" // // Window type code for the Fast Light Tool Kit (FLTK). // @@ -7,7 +7,7 @@ // for interacting with the overlay, which allows the user to // select, move, and resize the children widgets. // -// 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 @@ -752,5 +752,5 @@ int Fl_Window_Type::read_fdesign(const char* name, const char* value) { } // -// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.6 2000/04/25 01:57:50 mike Exp $". +// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.7 2000/05/16 12:26:05 mike Exp $". // -- cgit v1.2.3