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
blikblum
3d4516b088
lcl: implement GetCurrentObject for Gtk, Gtk2, Qt, Carbon and WinCe. Part of 14792
...
git-svn-id: trunk@26265 -
2010-06-22 20:36:58 +00:00
zeljko
0fcd32510d
Gtk: fixed compilation
...
git-svn-id: trunk@25842 -
2010-06-02 13:58:31 +00:00
zeljko
11a302cae4
Gtk2: implemented psOwnerDraw for gtk2 statusbar. fixes #16614
...
git-svn-id: trunk@25838 -
2010-06-02 09:46:51 +00:00
zeljko
7c6fee244d
Gtk2: do not really hide tab if tabvisible=false during design. fixes #12947
...
git-svn-id: trunk@25748 -
2010-05-29 09:15:15 +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
891890b3ab
Gtk2: implemented AppRemoveStayOnTop, AppRestoreStayOnTop also normalize stayOnTop in appactivate & appdeactivate.
...
git-svn-id: trunk@25540 -
2010-05-20 11:42:56 +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
a5e15bfc90
Gtk2: fixed infinite loops with windowstate change events.WindowState callback is handled by GDK_WINDOW_STATE event instead of signal.
...
Added new member (TGdkEventWindowState) into TWidgetInfo to track real changes of window state. fixes #16505 .
Prevented recursion by AppMinimize by checking current window state in TWidgetInfo.FormWindowState.
git-svn-id: trunk@25509 -
2010-05-19 09:00:39 +00:00
mattias
900480ea67
gtk1 intf: clean up
...
git-svn-id: trunk@25480 -
2010-05-17 12:25:58 +00:00
zeljko
095372bedf
Gtk: fixed crash in GtkFormEvent()
...
git-svn-id: trunk@25479 -
2010-05-17 12:06:50 +00:00
zeljko
7bb68e7dfa
Gtk,Gtk2: reworked app activate / app deactivate, now it works fine, added AppBringToFront. fixes #15859
...
LCL: removed workaround in TApplication.Deactivate which was there only because of gtk & gtk2.
git-svn-id: trunk@25478 -
2010-05-17 10:59:41 +00:00
zeljko
c4a4395865
Gtk2: implemented TGtk2WSCustomForm.SetFormBorderStyle so it does not recreate handle for nothing also fixes #16407
...
git-svn-id: trunk@25369 -
2010-05-13 15:07:11 +00:00
paul
15f1e94b2b
gtk: remove trial to mimic win32 focus behavior
...
git-svn-id: trunk@25348 -
2010-05-13 01:33:45 +00:00
paul
e31b338824
gtk: don't skip lm_setfocus for the controls which can't have focus
...
git-svn-id: trunk@25312 -
2010-05-11 02:49:30 +00:00
mattias
28419cb0f7
gtk1 intf: fixed compilation
...
git-svn-id: trunk@25272 -
2010-05-09 10:31:59 +00:00
paul
6b1168a249
gtk: implement LPtoDP, DPtoLP
...
git-svn-id: trunk@25237 -
2010-05-07 07:21:00 +00:00
zeljko
0e28bf6f69
Gtk2: fixed small typo
...
git-svn-id: trunk@25226 -
2010-05-06 15:27:25 +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
f6ea1d2f17
gtk2 intf: fixed calcrect with ampersands in DrawText, bug #16404
...
git-svn-id: trunk@25197 -
2010-05-04 21:48:21 +00:00
mattias
cf55952b42
removed OldAutoSize
...
git-svn-id: trunk@25190 -
2010-05-04 19:16:18 +00:00
mattias
1370bedf98
gtk2 intf: Add Bidi to Menus, bug #16387
...
git-svn-id: trunk@25174 -
2010-05-04 09:58:30 +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
paul
0ec1f90c0e
gtk, gtk2: implement GetSysColorBrush (non context-related)
...
git-svn-id: trunk@25130 -
2010-05-02 11:01:05 +00:00
mattias
02e09dd031
gtk2 intf: do not maximize designing forms
...
git-svn-id: trunk@25068 -
2010-04-29 16:50:24 +00:00
mattias
fe56a42529
gtk1 intf: fixed compilation, bug #16239
...
git-svn-id: trunk@25043 -
2010-04-28 20:00:02 +00:00
mattias
1799c5a206
gtk intf: reduced debugging
...
git-svn-id: trunk@24982 -
2010-04-26 20:35:08 +00:00
mattias
af904f7c5a
LCL: TCustomForm.WMWindowPosChanged, gtk intf: do not send WMWindowPosChanged because of strange side effects
...
git-svn-id: trunk@24979 -
2010-04-26 18:12:48 +00:00
mattias
79ac48c33b
gtk2 intf: send WMWindowPosChanged instead of WMSize and WMMove
...
git-svn-id: trunk@24974 -
2010-04-26 16:53:13 +00:00
paul
41021392cb
gtk2: trial to make treeview themed
...
git-svn-id: trunk@24842 -
2010-04-23 01:55:23 +00:00
mattias
2e66a93ebd
gtk intf: heuristic to detect true type fonts, bug #16298
...
git-svn-id: trunk@24780 -
2010-04-21 07:31:33 +00:00
mattias
686b6e177b
LCL: if clientsize changes without size change, call OnResize
...
git-svn-id: trunk@24749 -
2010-04-20 17:59:31 +00:00
mattias
cc036e53e9
gtk intf: GDIObjects are now reference counted, DeleteObject while object is selected is now allowed, bug #16291
...
git-svn-id: trunk@24743 -
2010-04-20 15:32:54 +00:00
mattias
708e6de6d9
LCL: implemented Application.TaskBarBehavior, bug #13537
...
git-svn-id: trunk@24682 -
2010-04-17 19:28:43 +00:00
paul
338187d10c
gtk: SetShape - also shape fixed widget (fixes issue #0016074 )
...
git-svn-id: trunk@24644 -
2010-04-16 02:58:01 +00:00
zeljko
21d5eda8e4
Gtk2: fixed wrong im_context reset. fixes #15965
...
git-svn-id: trunk@24524 -
2010-04-08 18:15:17 +00:00
paul
3c96229e18
gtk: implement statusbar themed parts painting
...
git-svn-id: trunk@24460 -
2010-04-06 07:47:45 +00:00
paul
82492703f2
lcl: correct declaration of TRIVERTEX, add TTriVertex, TGradientRect types, fix Qt and Gtk versions of GradientFill
...
git-svn-id: trunk@24458 -
2010-04-06 07:10:10 +00:00
mattias
b1b4157851
LCL: disabled exception for handle creation during loading, needed by glscene
...
git-svn-id: trunk@24382 -
2010-04-03 19:51:51 +00:00
mattias
e16bb0cfa4
LCL:
...
autosize: turn childs visible before parent
autosize without visible handle: clear requests
TWinControl.UpdateControlState: call AdjustSize to delay showing after bound computation
TWinControl.WMSize: ignore if no bounds were sent to intf
TToolBar.CreateWnd: delay autosize
TControl.DoAllAutoSize: do not autosize invisible controls
git-svn-id: trunk@24377 -
2010-04-03 13:28:35 +00:00
zeljko
113cf66c0f
Gtk2: implemented SetActiveWindow(), fixes #16047 and Z order changing after closing modal form.
...
git-svn-id: trunk@24291 -
2010-03-30 07:24:48 +00:00
zeljko
be3e5448c6
gtk,gtk2,qt: fixed IsWindow() to check for all handles, not windows (forms) only.
...
git-svn-id: trunk@24288 -
2010-03-29 14:50:37 +00:00
zeljko
caf4b2dd3f
LCL: added IsWindow(HWND), implemeted IsWindow() for qt, gtk and gtk2.
...
git-svn-id: trunk@24283 -
2010-03-29 12:42:58 +00:00
zeljko
8b981c9c48
Gtk: better fix for #16127 .
...
git-svn-id: trunk@24248 -
2010-03-27 14:33:49 +00:00
zeljko
0c98e064f9
Gtk: statictext widget must set usize in case of new autosize. fixes #16127
...
git-svn-id: trunk@24247 -
2010-03-27 13:48:46 +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
d6a4a9f651
Gtk: fixed bug in TGtkWSCustomNotebook.GetTabIndexAtPos(), it should check if tabwidget is mapped.fixes #15472
...
git-svn-id: trunk@24209 -
2010-03-25 10:37:23 +00:00