~ubuntu-branches/ubuntu/vivid/lazarus/vivid-proposed

« back to all changes in this revision

Viewing changes to lcl/include/toolbutton.inc

  • Committer: Package Import Robot
  • Author(s): Abou Al Montacir
  • Date: 2014-07-14 20:16:50 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20140714201650-ossm36rrsdomp379
Tags: 1.2.4+dfsg-1
* New upstream release with few fixes and official support of FPC 2.6.4.
  - The detailed list of changes can be found here:
    http://wiki.lazarus.freepascal.org/Lazarus_1.2_fixes_branch#Fixes_for_1.2.4_.28Merged.29

Show diffs side-by-side

added added

removed removed

Lines of Context:
931
931
 
932
932
function TToolButton.DialogChar(var Message: TLMKey): boolean;
933
933
begin
934
 
  if IsAccel(Message.CharCode, Caption) and FToolBar.CanFocus then
 
934
  if IsAccel(Message.CharCode, Caption) and FToolBar.ShowCaptions then
935
935
  begin
936
936
    Click;
937
937
    Result := true;