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
sekelsenmat
b347aa14e5
Reverts wrong changes from gtk1
...
git-svn-id: trunk@33112 -
2011-10-27 15:35:23 +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
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
b2fbbd9b34
LCL: Fix the rest of Assert to DebugLn conversion.
...
git-svn-id: trunk@29837 -
2011-03-14 11:54:38 +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
mattias
b3a8dd03b1
fixed typos: childs
...
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +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
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
zeljko
924cafa5b4
Gtk2: fixed TScrollingWinControl moving viewport out of scrollbar max ranges.
...
git-svn-id: trunk@25580 -
2010-05-22 13:11:15 +00:00
zeljko
3dfe0e61f3
Gtk2: use SetResizeRequest() instead FormSavedPos (removed my latest patch for for positioning after hide).fixes #16507
...
git-svn-id: trunk@25549 -
2010-05-20 17:59:22 +00:00
zeljko
d7de33e1aa
Gtk2: fixed restoring form position after form is hidden, and then shown.
...
Fixes #15069,#15417,#16507
git-svn-id: trunk@25519 -
2010-05-19 17:33:54 +00:00
zeljko
16e21d570d
Gtk2: fixed crash when IDE closing
...
git-svn-id: trunk@25222 -
2010-05-05 17:35:48 +00:00
zeljko
5b9b9419d0
Gtk2: fixed gtk2 spinedit OnChange() event.fixes #16410 .
...
git-svn-id: trunk@25218 -
2010-05-05 15:55:36 +00:00
mattias
cf55952b42
removed OldAutoSize
...
git-svn-id: trunk@25190 -
2010-05-04 19:16:18 +00:00
paul
c3564e26d8
lcl: TTrackBar.OnChange should be called after Position change in code, add Changed method for VCL compatibility, fix qt, gtk2 to skip message sending in case of position change through code to prevent double calling of the message (issue #0014545 )
...
git-svn-id: trunk@25161 -
2010-05-04 04:29:27 +00:00
zeljko
da4ea2af2e
Gtk2: take care of adjustment max & min value in case of Gtk2WSScrollingWinControl
...
git-svn-id: trunk@24220 -
2010-03-26 13:18:54 +00:00
zeljko
ecf56f9f71
Gtk2: implemented Gtk2WSScrollingWinControl.ScrollBy(), gtk >= 2.8 uses "changed-value" instead "value-changed" on all TScrollingWinControls (GtkRange instead GtkAdjustment callbacks) from now on.NOTE: with gtk >= 2.18 users must set environment variable GDK_NATIVE_WINDOWS=1 otherwise GdkWindow paintings will be funny (when scrolling GtkScrolledWindow). fixes #7321 , #10390 .
...
git-svn-id: trunk@24217 -
2010-03-26 11:35:06 +00:00
zeljko
e00a729df4
gtk2: small fix for gtkEntry 'changed' , gtk2 bug is fixed in >= 2.17 not >= 2.15
...
git-svn-id: trunk@24050 -
2010-03-16 20:01:53 +00:00
zeljko
ca4e6d270d
Gtk2: fixed inconistency between gtk2 libs versions for GtkEntry 'changed' event.
...
git-svn-id: trunk@24048 -
2010-03-16 18:56:19 +00:00
mattias
ec6bd0f076
gtk intf: do not allocate size for notebook on add page
...
git-svn-id: trunk@24047 -
2010-03-16 18:52:14 +00:00
zeljko
42ecbc3588
Gtk2: rework cursor_pos update for GtkEntry.Now it works correct and completely fixes #7243
...
git-svn-id: trunk@24043 -
2010-03-16 15:34:28 +00:00
zeljko
9444dd3460
Gtk: update GtkEntry cursorpos in changed event for gtk too. issue #7243
...
git-svn-id: trunk@24031 -
2010-03-16 11:01:02 +00:00
zeljko
3066ad5a51
Gtk2: provoke gtkEditable to update GtkEntry cursorpos property inside changed event. fixes #7243
...
git-svn-id: trunk@24030 -
2010-03-16 09:14:54 +00:00
mattias
874b22249a
LCL: made NewAutoSize default, added -dOldAutoSize
...
git-svn-id: trunk@23943 -
2010-03-11 15:49:01 +00:00
mattias
812b84fe1f
gtk: newautosize: send size messages when not realized
...
git-svn-id: trunk@22533 -
2009-11-11 18:06:50 +00:00
mattias
bd38195d35
gtk intf: TGtkWSCustomEdit.SetText: lock during set and fire CM_TEXTCHANGED, bug #14615
...
git-svn-id: trunk@21836 -
2009-09-23 12:06:24 +00:00
paul
91915ea85b
gtk: simplify DestroyWindowFromPointCB and other minor corrections to WindowFromPoint
...
git-svn-id: trunk@21598 -
2009-09-07 09:45:07 +00:00
paul
907df92e81
gtk: more safer code in WindowFromPoint ( fixes #0014497 )
...
git-svn-id: trunk@21569 -
2009-09-04 13:49:41 +00:00
paul
10aa429021
gtk, gtk2: fix memory leak on destruction of some widgets by cobines (issue #0014090 ) + formatting of surrounding code
...
git-svn-id: trunk@21380 -
2009-08-21 09:34:54 +00:00
mattias
7dbec45e6d
gtk2 intf: fixed slow down when mouse outside bug #11740 , fixed crash when WindowFromPoint widget destroyed
...
git-svn-id: trunk@21213 -
2009-08-13 06:53:35 +00:00
mattias
365837b53b
gtk2 intf: clean up
...
git-svn-id: trunk@21201 -
2009-08-12 15:24:07 +00:00
mattias
1c5875ccfe
gtk2 intf: removed auto mouse capture on mouse btn press fixing X locks with modal forms, LCL: fixed some typos
...
git-svn-id: trunk@21198 -
2009-08-12 14:04:52 +00:00
mattias
2f8de86823
codetools: added -dVerboseCTSave
...
git-svn-id: trunk@21093 -
2009-08-03 21:28:27 +00:00
marc
42c8e0fbea
* Removed own shiftstate tracking since it doesn't work when the app looses focus.
...
Either X or windows is queried now. Fixes issue #14102
Also removed the EnableGtkShiftState conditional (r20870), since it is not an ubunto only problem, the concept was faulty itself
git-svn-id: trunk@20888 -
2009-07-18 16:10:55 +00:00
marc
7077d774a2
* Implemented own way of tracking shiftstate, solves issues with reporting ssAlt or ssAltGr being pressed. Solves issue #009394 too
...
git-svn-id: trunk@20767 -
2009-06-29 22:53:31 +00:00
paul
0a4a8d01f4
gtk: formatting
...
git-svn-id: trunk@20659 -
2009-06-18 01:35:06 +00:00
paul
0de0f63bc5
gtk2: don't propagate mouse after events to parent (by cobines, issue #0014001 )
...
git-svn-id: trunk@20658 -
2009-06-18 01:11:57 +00:00
vincents
dfd8ef509d
gtk interface: fixed setting mouse buttons in mouse event, patch from cobines (issue #13946 )
...
git-svn-id: trunk@20571 -
2009-06-10 13:01:32 +00:00
paul
8140fd8755
lcl: add more extra mouse buttons support
...
git-svn-id: trunk@20536 -
2009-06-09 04:25:32 +00:00
paul
0006ba061f
gtk: more support for extra mouse buttons
...
git-svn-id: trunk@20429 -
2009-06-05 09:22:21 +00:00
paul
3c4f8ff042
gtk: don't apply SubstractScroll for gtk1 widgetset
...
git-svn-id: trunk@20428 -
2009-06-05 09:20:11 +00:00
paul
393c3eea5f
gtk: formatting
...
git-svn-id: trunk@20425 -
2009-06-05 08:40:43 +00:00
jesus
62117dc779
LCL: GTK1, enable notebook user popupmenu on right click
...
git-svn-id: trunk@20420 -
2009-06-05 04:37:46 +00:00
paul
9eaaa681d2
gtk, gtk2: subtract scroll offset when we report mouse event to LCL (bug #0013744 )
...
git-svn-id: trunk@20180 -
2009-05-25 02:44:55 +00:00
paul
b8d1a1adec
lcl: formatting
...
git-svn-id: trunk@20179 -
2009-05-25 02:10:05 +00:00
paul
a3283dde56
gtk: cleanup, formatting
...
git-svn-id: trunk@20098 -
2009-05-21 09:01:38 +00:00
paul
095f1262a5
gtk2: use LCL popupmenu for controls instead of native if available (fixes issue #0013730 )
...
git-svn-id: trunk@20022 -
2009-05-18 03:46:00 +00:00