diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2009-06-08 16:49:45 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2009-06-08 16:49:45 +0200 |
commit | b0e1a5fffbf05c6e2b4c91d9d87d318cae86138e (patch) | |
tree | 584349a534b7983af618cbce154f9bf7ae355e6d /src/corelib | |
parent | f080fc0ac65c07198cbe3fe804332ffed8bb482e (diff) | |
download | fpGUI-b0e1a5fffbf05c6e2b4c91d9d87d318cae86138e.tar.xz |
Fixed the keyMenu handling in BasicEdit components.
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/fpg_widget.pas | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/corelib/fpg_widget.pas b/src/corelib/fpg_widget.pas index 604b2d11..4c8e1875 100644 --- a/src/corelib/fpg_widget.pas +++ b/src/corelib/fpg_widget.pas @@ -744,9 +744,8 @@ begin } keyMenu: begin - { TODO : We could improve the X,Y coordinates. Not really sure how - Menu Key should handle that. } - HandleRMouseDown(Width div 2, Height div 2, []); + // ssExtra1 is a signal that keyMenu was used. + HandleRMouseDown(Width div 2, Height div 2, [ssExtra1]); end; end; |