Commit Graph

63 Commits

Author SHA1 Message Date
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
zeljko
cdeb7f8f68 Gtk2: improved gtk2 performance in case of pointer motions by using GDK_POINTER_MOTION_HINT_MASK.Patch by Henry Vermaak. Fixes issue #14936
git-svn-id: trunk@28107 -
2010-11-06 13:10:17 +00:00
paul
d5c63f7aad gtk2: move focus-in after handler to focus-in handler. This cause interface to handle focus switches inside the focus events properly (fixes bug #17801)
git-svn-id: trunk@28104 -
2010-11-06 04:18:42 +00:00
paul
b385553fb5 qt, gtk, carbon: send LM_MOUSEENTER(LEAVE) instead of CM_MOUSEENTER(LEAVE). CM_ messages must be sent by LCL, not a widgetset
git-svn-id: trunk@27934 -
2010-10-29 04:50:26 +00:00
mattias
50b31c7963 LCL: TCustomIcon.LoadFromResourceID: changed integer to PtrUInt
git-svn-id: trunk@27849 -
2010-10-25 10:37:34 +00:00
zeljko
af7a4a248b Gtk2: removed code which stop capturing when moving mouse (used by me only, for debugging) ...
git-svn-id: trunk@27648 -
2010-10-11 06:15:29 +00:00
zeljko
268b91cad8 Gtk2: added workaround for gtk2 where GtkButton "clicked" signal isn't triggered when our modal form is started from OnDropDown().
Related to #14318

git-svn-id: trunk@27639 -
2010-10-10 16:20:18 +00:00
zeljko
afb190401d Gtk2: fixed setCapture(), now it uses new way of capturing, old can be used with -dGTK2_USE_OLD_CAPTURE.
fixed unwanted focus grab of THintWindow.
fixed bug when scrollbar button double clicked, we need 2 clicks to focus our client area. Fixed bugs #13878 #17596.

git-svn-id: trunk@27638 -
2010-10-10 15:26:45 +00:00
zeljko
e62fc9c0f6 Gtk2: fixed compilation with -dVerboseFocus. fixes #17209
git-svn-id: trunk@27191 -
2010-08-26 09:08:22 +00:00
paul
119861634f gtk2: skip own popup menu check for containers if signal was emitted by their children (issue #0016981)
git-svn-id: trunk@26743 -
2010-07-20 03:39:57 +00:00
mattias
a8d5b99b2b gtk2 intf: clean up
git-svn-id: trunk@26646 -
2010-07-14 15:14:00 +00:00
paul
a3dac0b6df lcl: redo context menu message handling:
- when called by keyboard pass -1, -1 coords
  - remove child->parent loop from LCL to widgetsets (win32 and wince do this automatically, qt do it too if mouse propagation is on)
  - don't show parent context menu if child has own standard menu (like TEdit)
qt: redo mouse handling, turn on mouse propagation and mouse tracking for most of widgets, stop propagation in event filters
gtk2: implement context menu loop
widgetsets: remove LM_PRESSED, LM_RELEASED messages (LCL does not use them and they are not needed for any compatbility reasons)

git-svn-id: trunk@26637 -
2010-07-14 08:47:02 +00:00
mattias
152fbbfa9c gtk2 intf: when a window gets focus, send the LM_SETFOCUS message to the ActiveControl to follow the LCL logic
git-svn-id: trunk@26563 -
2010-07-10 06:51:28 +00:00
mattias
77c0853887 debugging
git-svn-id: trunk@26534 -
2010-07-08 20:24:51 +00:00
mattias
81f8e13285 gtk2 intf: do not send LM_SETFOCUS to active form to prevent resetting ActiveControl
git-svn-id: trunk@26500 -
2010-07-07 12:18:20 +00:00
zeljko
5836362db3 Gtk2: fix dissapearing of child controls when form is maximized.Applies to gtk2 <= 2.8.fixes #15134
git-svn-id: trunk@26363 -
2010-06-30 18:58:39 +00:00
zeljko
00475aa337 Gtk2: postpone SetSelStart() since selStart can be changed in OnChange event. fixes #16678
git-svn-id: trunk@26253 -
2010-06-22 11:55:23 +00:00