Commit Graph

79 Commits

Author SHA1 Message Date
zeljko
35d7709226 Gtk2: do not show context menu twice over PGtkTreeView, also select item with right mouse click. issue #21522
git-svn-id: trunk@36212 -
2012-03-22 08:34:30 +00:00
zeljko
2dbd330280 Gtk2: do not show selection when GtkEntry is unfocused.
git-svn-id: trunk@36097 -
2012-03-16 20:58:04 +00:00
zeljko
5143a2f9b4 Gtk2: use different approach for FloatSpinEdit, now we use our own validator. issue #18679
git-svn-id: trunk@36095 -
2012-03-16 20:15:38 +00:00
zeljko
fbff967e32 Gtk2: cleanup
git-svn-id: trunk@36071 -
2012-03-16 08:28:34 +00:00
zeljko
14066745da Gtk2: fixed ugly behaviour of floatspinedit for gtk2 >= 2.18. issue #18679
git-svn-id: trunk@36024 -
2012-03-15 10:34:49 +00:00
zeljko
afac637ac5 Gtk2: delay CM_TEXTCHANGE for gtk2 < 2.17 (workaround for gtk2 bug). issue #19220
git-svn-id: trunk@35986 -
2012-03-14 17:31:58 +00:00
zeljko
3fcf97aadc Gtk2: fixed wrong selStart result after pasting data into GtkEntry. issue #7243
git-svn-id: trunk@35982 -
2012-03-14 17:00:47 +00:00
zeljko
aaa6a65283 Gtk2: added missing result in gtk2trayicon, cleanup of unused variables, fixed compiler warnings
git-svn-id: trunk@35675 -
2012-03-03 16:13:08 +00:00
zeljko
b20b91c23e Gtk2: resize column to fit contents when column separator is double clicked. issue #18381
git-svn-id: trunk@35577 -
2012-02-24 10:45:30 +00:00
zeljko
6791144fee Gtk2: added todo for column resizing
git-svn-id: trunk@35570 -
2012-02-23 17:30:20 +00:00
zeljko
967f02d777 Gtk2: fixed columns resizing by mouse. issue #21354
git-svn-id: trunk@35569 -
2012-02-23 17:24:04 +00:00
paul
82e9d3f4ce lcl: remove LM_DEACTIVATE message. In windows and in Delphi both activation and deactivation are handled by WM_ACTIVATE message. Better to do this merge in LCL before 1.0 to prevent later problems
git-svn-id: trunk@35518 -
2012-02-21 06:59:12 +00:00
paul
bbb4a0f776 lcl: add Target: TControl argument to NotifyApplicationUserInput(), pass this target to event handlers instead of TApplication
git-svn-id: trunk@35500 -
2012-02-20 06:20:01 +00:00
zeljko
33a2b41630 Gtk2: merged gtk2dragcallback.inc,gtk2comboboxcallback.inc and gtk2pagecallback.inc into gtk2callback.inc.
git-svn-id: trunk@35457 -
2012-02-18 17:04:43 +00:00
zeljko
d35506ce28 Gtk2: fixed bug when notebook enables drag and drop ops manually.issue #19914
git-svn-id: trunk@35213 -
2012-02-07 10:45:33 +00:00
zeljko
42d5280789 Gtk2: fixed gtkNotebook behaviour during drag and drop operations when mode=dmAutomatic. issue #19914
git-svn-id: trunk@35184 -
2012-02-06 14:57:54 +00:00
blikblum
4e8a2856a5 gtk2: remove Get/SetHiddenLCLObject and related code. The only place that was still being called is a dead code since at least 2003. Fixes issue #21021
git-svn-id: trunk@34592 -
2012-01-05 10:34:09 +00:00
zeljko
91eda267c1 Gtk2: cleanup
git-svn-id: trunk@34519 -
2011-12-30 17:18:18 +00:00
blikblum
3bd4030d1a gtk2: remove unecessary checks
git-svn-id: trunk@34395 -
2011-12-24 20:58:37 +00:00
zeljko
d2f60568af Gtk,Qt: do not pass button into TShiftState in MouseUp event. issue #20916
git-svn-id: trunk@34258 -
2011-12-18 15:44:27 +00:00
zeljko
c98a4639c4 Gtk2: fixed MouseDown trigger when focus was changed after previous MouseDown.issue #18614
git-svn-id: trunk@34021 -
2011-12-07 11:48:46 +00:00
zeljko
a17b227ac0 Gtk2: cleanup
git-svn-id: trunk@33640 -
2011-11-20 09:44:38 +00:00
zeljko
88dfff8959 Gtk2: fixed compilation with -dVerboseMouseFix
git-svn-id: trunk@33639 -
2011-11-20 09:35:20 +00:00
zeljko
d871ad3dc6 Gtk2: fixed capturing of mouse with TScrollBar.Patch by August Klein. issue #19761
git-svn-id: trunk@33189 -
2011-10-30 20:12:18 +00:00
sekelsenmat
2c0cc4c4d4 Reverts the previous removal of TLMouseEvent.State
git-svn-id: trunk@33114 -
2011-10-27 18:03:01 +00:00
sekelsenmat
f498b421a6 Reverts wrong changes from Gtk2
git-svn-id: trunk@33111 -
2011-10-27 15:30:43 +00:00
sekelsenmat
73f0887e09 Fixes bug #20065. Removes ssCaps, ssNum and ssScroll because they are implemented based on the key lock in win32, which is not the same as shift state, they are added only for MouseWhell events and very unreliable across platforms (cannot be correctly implemented in win32 for example). Also corrects the ShiftState for MouseWhell messages in Windows. Removes State from the mousewhell internal message, now Button is used, which is more consistent with Win32.
git-svn-id: trunk@33092 -
2011-10-26 15:08:10 +00:00
zeljko
970c42ae1a Gtk2: fixed ugly behaviour of PGtkNotebook when tab activated by mouse click.Fixes issue #20493
git-svn-id: trunk@33018 -
2011-10-22 11:11:55 +00:00
zeljko
7d0dab7439 Gtk2: fixed missing result in page control afterswitch, formatting
git-svn-id: trunk@33015 -
2011-10-22 09:07:20 +00:00
zeljko
7d2c10b1ca Gtk2: fix mouse capture while designing. issue #20189
git-svn-id: trunk@32231 -
2011-09-08 13:45:12 +00:00
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
sekelsenmat
4244d3ea84 Removes the old, completely broken, TTabControl and substitutes it with the new implementation. This also cleans the namespace for renaming TCustomNotebook
git-svn-id: trunk@31766 -
2011-07-20 14:04:55 +00:00
juha
c48e840412 LCL, GTK2: Fix double click behavior when handler takes more than 250 milliseconds. Patche from Max Vlasov, issues #14001 and #19753
git-svn-id: trunk@31737 -
2011-07-18 15:15:11 +00:00
zeljko
d7a4f586a0 Gtk2: TScrollingWinControl: fixed scrolling when pressed scrollbar arrows.Patch by August Klein. issue #19676
git-svn-id: trunk@31566 -
2011-07-05 06:30:23 +00:00
jesus
3e230c04f9 LCL, gtk/qt, fix scrollbar issues in customcontrols generated since r31447 #ab611393ae, from August Klein, issue #14728
git-svn-id: trunk@31483 -
2011-07-01 03:33:50 +00:00
juha
ab611393ae LCL: fire correct ScrollCodes in TScrollbar.OnScroll event. Patch from August Klein, issue #14728
git-svn-id: trunk@31447 -
2011-06-29 00:16:05 +00:00
juha
550b1d3a3a LCL, GTK2: Update ScrollBox.VertScrollBar.Position when scrolling with mouse wheel. Patch from August Klein, issue #19428
git-svn-id: trunk@30967 -
2011-05-29 23:08:52 +00:00
mattias
b68fd5c06b gtk2 intf: added flag Gtk2CallMouseDownBeforeContext to call mousedown before lm_context
git-svn-id: trunk@30939 -
2011-05-27 20:20:17 +00:00
jesus
93747680f0 GTK2, reverted TEdit caret position as causes issue #19239
git-svn-id: trunk@30481 -
2011-04-26 18:45:30 +00:00
juha
22ef1d3d82 LCL: Stop handling click events after popup in gtkMouseBtnPress. Patch from August Klein, issue #19145
git-svn-id: trunk@30478 -
2011-04-26 08:26:59 +00:00
juha
4b1f5f2192 LCL: GTK2, fix offset by one when selecting and editing text in TEdit. Patch from Bart Broersma, issue #19220
git-svn-id: trunk@30461 -
2011-04-25 08:16:53 +00:00
zeljko
67aec0c9c4 Gtk2: bugfix where csCaptureMouse cannot be disabled. issue #8178
git-svn-id: trunk@30152 -
2011-04-03 13:32:40 +00:00
juha
b2fbbd9b34 LCL: Fix the rest of Assert to DebugLn conversion.
git-svn-id: trunk@29837 -
2011-03-14 11:54:38 +00:00
juha
4fe6258185 GTK2: fix compilation with DebugLns.
git-svn-id: trunk@29821 -
2011-03-13 19:14:13 +00:00
juha
01db3bb47c LCL (mostly), Replace Assert(False... with //DebugLn(... Now Assert can be used for its original purpose again.
git-svn-id: trunk@29820 -
2011-03-13 18:21:51 +00:00
zeljko
619744bfed Gtk2: fixed crash with spin button under gtk2 < 2.12. issue #18554
git-svn-id: trunk@29157 -
2011-01-21 14:34:45 +00:00
martin
18f7996a1b GTK2: Adjust the modifier keys (alt, ctrl, ...) state, after app was deactivated. Issue #18033, #16165, #14102
git-svn-id: trunk@28788 -
2010-12-20 10:45:16 +00:00
zeljko
761b8d3048 Gtk2: fixed crash when -dDebug enabled. fixes issue #18016
git-svn-id: trunk@28401 -
2010-11-22 11:57:11 +00:00
zeljko
a74e75f6a5 Gtk2: fixed doubled events over TListBox when right mouse button pressed.Fixes issue #17963
git-svn-id: trunk@28311 -
2010-11-18 07:34:33 +00:00
zeljko
db41426263 Gtk2: fixed crash in TListBox selection handling.Fixes issue #17888
git-svn-id: trunk@28287 -
2010-11-17 08:18:10 +00:00