diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-05-30 09:38:19 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-05-30 09:38:19 +0000 |
| commit | 987d9e05f2c502138ecf648d76c02886f0534740 (patch) | |
| tree | 59797bc5c3224a1802492e8ceaaa60971c8f8659 /src/fl_encoding_latin1.cxx | |
| parent | 6986a1d0083c106c11095e250d46dbd2dacfa857 (diff) | |
Fixed shortcut and default focus for message dialogs (STR #1298).
Default focus is now on the button that also reacts to the 'Enter' key. This should avoid confusion about Enter triggering the button1 or button 0.
Also, I changed the shortcut call to the new convention which works on MSWindows. I don't have a Linux system right now for testing... .
Fixed focus issues (STR #1286, STR #1289, STR #1296)
fl_xfocus was not always updated, making widgets or even whole windows loose focus when any focus changes were not accompanied by a click into the same window. Also, Fl_Tabs would not redraw correctly if focus returned to the active tab.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5165 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_encoding_latin1.cxx')
| -rw-r--r-- | src/fl_encoding_latin1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_encoding_latin1.cxx b/src/fl_encoding_latin1.cxx index 5191b69d4..5f2aa7af3 100644 --- a/src/fl_encoding_latin1.cxx +++ b/src/fl_encoding_latin1.cxx @@ -30,8 +30,8 @@ #include <stdlib.h> #include "flstring.h" -#ifdef __APPLE__
-
+#ifdef __APPLE__ + // These function assume a western code page. If you need to support // scripts that are not part of this code page, you might want to // take a look at FLTK2, which uses utf8 for text encoding. |
