summaryrefslogtreecommitdiff
path: root/src/gui/gui_radiobutton.pas
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-04 13:38:17 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-04 13:38:17 +0000
commitb9a8fee7794d03513a6d8b7bfb3f77df811582da (patch)
tree4d3967e00bc835e79b48e6688d186b913ed98ec5 /src/gui/gui_radiobutton.pas
parentcfbb1096706f6234cf8ac8fb0feefaae8b881ba9 (diff)
downloadfpGUI-b9a8fee7794d03513a6d8b7bfb3f77df811582da.tar.xz
* More more on the MiG Layout port.
* Added new resourcestring constants to the translation language files. * Localized all the GUI units.
Diffstat (limited to 'src/gui/gui_radiobutton.pas')
-rw-r--r--src/gui/gui_radiobutton.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/gui_radiobutton.pas b/src/gui/gui_radiobutton.pas
index b9012c98..d59f6f23 100644
--- a/src/gui/gui_radiobutton.pas
+++ b/src/gui/gui_radiobutton.pas
@@ -198,7 +198,7 @@ begin
tx := r.right + 8;
inc(r.left, 2);
inc(r.top, 1);
- img := fpgImages.GetImage('sys.radiobuttons');
+ img := fpgImages.GetImage('sys.radiobuttons'); // Do NOT localize
Canvas.DrawImagePart(r.Left, r.Top, img, ix*12, 0, 12, 12);
ty := (Height div 2) - (Font.Height div 2);
@@ -287,9 +287,9 @@ begin
begin
FoundIt := False;
if direction in [fsdLast, fsdPrev] then
- bestdtab := Low(integer) // or "-999999" like that in TfpgWidget.FindFocusWidget?
+ bestdtab := Low(integer)
else
- bestdtab := High(integer); // or "999999"?
+ bestdtab := High(integer);
for i := 0 to Parent.ComponentCount-1 do
begin