vincents
eb2ba60ae1
LCL: Added TPageControl.MultiLine and TTabControl.MultiLine as unsupported properties on carbon, gtk, gtk2 and qt (issue #8928 )
...
git-svn-id: trunk@28573 -
2010-11-30 15:56:21 +00:00
zeljko
799a9ade18
Gtk2: implemented AskUser(). Fixes issue #18081
...
git-svn-id: trunk@28552 -
2010-11-29 08:07:30 +00:00
zeljko
d500a9f47b
Gtk2: use pango_font_description_set_absolute_size() instead of pango_font_description_set_size().Now font sizes are same like in qt and gtk under linux.
...
git-svn-id: trunk@28446 -
2010-11-24 10:07:46 +00:00
zeljko
da7a65635c
Gtk2: Allow font change for TListView. Fixed issue #16964
...
git-svn-id: trunk@28444 -
2010-11-24 08:13:15 +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
a31e9898e2
Gtk2: fixed item-changing notification in TGtk2CustomListView when in vsIcon mode, also fixed assert with gtk_icon_view_set_cursor() by passing valid TGtkTreePath param.Fixes issue #17309
...
git-svn-id: trunk@28350 -
2010-11-19 19:47:56 +00:00
zeljko
4d4bcc1584
Gtk2: implemented TTrackBar.Reversed property.
...
git-svn-id: trunk@28314 -
2010-11-18 10:02:59 +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
9815e521d3
Gtk2: reset LastWFPResult used by WindowFromPoint() in case when shown/hidden,enabled/disabled,moved,resized widget overlaps current cache.Fixes issue #17389
...
git-svn-id: trunk@28288 -
2010-11-17 08:59:09 +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
9d19f99a23
Gtk2: fixed memleak in TGtk2WidgetSet.PromptUser()
...
git-svn-id: trunk@28285 -
2010-11-17 07:08:21 +00:00
zeljko
650a8ad5d0
Gtk2: fix gtk errors when calling TGtk2WSCustomGroupBox.GetPreferredSize() with nil label. fixes issue #17948
...
git-svn-id: trunk@28269 -
2010-11-16 12:40:01 +00:00
paul
e3134c1abd
win32: start implementation of Vista+ FileOpen and FileSave dialogs. todo is in the win32wsdialogs.pp
...
git-svn-id: trunk@28239 -
2010-11-15 08:11:31 +00:00
zeljko
9383e30051
Gtk2: do not set transient window for messagedlg if we are under gtk2 versions > 2.12. Fixes issue #17848
...
git-svn-id: trunk@28110 -
2010-11-07 11:28:21 +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
zeljko
1364a5441f
Gtk2: avoid presence of horizontal scrollbar when TListBox is cleared by using gtk_tree_view_columns_autosize().Fixes issue #17837
...
git-svn-id: trunk@28097 -
2010-11-05 15:37:14 +00:00
paul
019f77c33d
gtk2: don't change the focus on GetCapture call. gtk_grab_add do all the required job
...
win32: improve the debugging
git-svn-id: trunk@28094 -
2010-11-05 10:56:38 +00:00
paul
615c6c2c5f
gtk2: define USE_GTK_MAIN_OLD_ITERATION for windows
...
git-svn-id: trunk@28093 -
2010-11-05 09:50:29 +00:00
zeljko
ab18b9f85b
Gtk2: TListView - take into account that user can change imagelist items via addImage,delete etc.., we must check that case.Fixes issue #17831 .
...
git-svn-id: trunk@28091 -
2010-11-05 09:08:37 +00:00
zeljko
0ed014d074
Gtk2: use Ampersands2Underscore() for dialog buttons.Fixed activation problem for msgdialogs, now it's correctly focused when run executed.Fixes issue #17821 .
...
git-svn-id: trunk@28090 -
2010-11-05 08:30:48 +00:00
zeljko
3ccc0e702d
Gtk2: map all non-standard gtk2 stock id's to lcl resource strings. fixes #17821
...
git-svn-id: trunk@28068 -
2010-11-04 07:18:35 +00:00
zeljko
e7da031bee
Gtk2: TGtk2WidgetSet.PromptUser() fixed wrong mapping of ignore button to gtk-remove stock id. Now it's mapped to gtk-cancel since gtk2 doesn't have "ignore" as stock id. Fixes #17812 .
...
git-svn-id: trunk@28058 -
2010-11-03 14:53:49 +00:00
zeljko
99cd9b4bbe
Gtk2: fixed weird behaviour of TListBox selection. Fixes #16972 .
...
git-svn-id: trunk@27968 -
2010-10-30 10:32:05 +00:00
zeljko
df3dbed892
Gtk2: GetTopItem implementation, patch by theo. fixes #17010
...
git-svn-id: trunk@27967 -
2010-10-30 09:34:19 +00:00
paul
af66e8e95b
lcl: send CM_CURSORCHANGED on control cursor change, perform cursor change logic in CM_CURSORCHANGED handler
...
git-svn-id: trunk@27936 -
2010-10-29 06:31: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
zeljko
65e922cbef
Gtk2: gtk2lcl now uses gtk_main_context_* instead of deprecated gtk_main_*. In case someone want to use old gtk_main_* iterations there's USE_GTK_MAIN_OLD_ITERATION define.
...
git-svn-id: trunk@27896 -
2010-10-27 07:31:11 +00:00
zeljko
400281ddea
Gtk2: fixed another misusage of IntersectRect
...
git-svn-id: trunk@27880 -
2010-10-26 12:00:12 +00:00
zeljko
21a209e959
Gtk2: fixed crash because of misusage/fpc bug in IntersectRect.
...
git-svn-id: trunk@27879 -
2010-10-26 11:53:32 +00:00
mattias
12b4bd48c0
gtk2: clean up
...
git-svn-id: trunk@27877 -
2010-10-26 09:27:49 +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
e00ff67049
Gtk2: fixed vertical TTrackBar behaviour, start value should be at bottom not at top. fixes #17703
...
git-svn-id: trunk@27846 -
2010-10-25 06:24:50 +00:00
zeljko
ad8cb136fd
Gtk2: removed optimization code from TGtk2WidgetSet.PromptUser which could lead into wrong button assignments. fixes #17704
...
git-svn-id: trunk@27836 -
2010-10-24 18:12:18 +00:00
zeljko
1c4a0cc726
Gtk2: changed the way how main event loop iterates BUT ONLY VIA -dUSE_GTK_MAIN_CONTEXT_ITERATION until it's stable enough.
...
Now PostMessage() work correct when messages arrives from other threads. fixes #17548 and probably more issues with gtk2 threads usage.
git-svn-id: trunk@27829 -
2010-10-24 11:57:49 +00:00
zeljko
0ef33b2c49
LCL: changed TCustomTrayIcon.Handle from PtrInt to HWND since it's correct.
...
Qt,Gtk2,Carbon: changed type cast from PtrInt() to HWND() for trayicon handle.
git-svn-id: trunk@27789 -
2010-10-21 11:10:57 +00:00
zeljko
28632554b9
LCL: TLMMouse.Keys:PtrInt becomes TLMMouse.Keys: PtrUInt to avoid range check errors.
...
Qt, Gtk2: added various type casts to avoid range check errors. Patches by Juha Manninen. fixes #17531
git-svn-id: trunk@27786 -
2010-10-21 10:32:41 +00:00
zeljko
22c960e012
Gtk2: fixed configure event when moving form under compiz. fixes #17625
...
git-svn-id: trunk@27705 -
2010-10-14 07:22:55 +00:00
paul
4f37db4253
gtk2: fix comment
...
git-svn-id: trunk@27662 -
2010-10-12 10:18:09 +00:00
zeljko
9368dd2ccb
Gtk2: fixed compilation with -dRawimageConsistencyCheks and -dVerboseStretchCopyArea
...
git-svn-id: trunk@27651 -
2010-10-11 09:21:28 +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
9da784edf0
Gtk2: removed unused units.
...
git-svn-id: trunk@27642 -
2010-10-10 18:11:22 +00:00
zeljko
dffaa39719
Gtk2: ifdefed gtk2proc CaptureMouseForWidget with GTK2_USE_OLD_CAPTURE define.
...
git-svn-id: trunk@27641 -
2010-10-10 18:02:43 +00:00
zeljko
eab39ab766
Gtk2: Gtk2WSForms.ShowModal() code moved to Gtk2WSForms.ShowHide(), since gtk_window_present() will call show on widget if it isn't already visible.
...
git-svn-id: trunk@27640 -
2010-10-10 17:54:25 +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
0874f11dcf
Gtk2: implemented TGtk2WidgetSet.PromptUser(), fixes various bugs with gtk2 dialogs. known to fixes #14318
...
git-svn-id: trunk@27630 -
2010-10-09 13:27:17 +00:00
zeljko
d9e439282b
Gtk2: fixed alien configure events from composition manager (usually compiz). fixed #17523
...
git-svn-id: trunk@27625 -
2010-10-08 18:47:02 +00:00
zeljko
94827d66c8
Gtk2: fixed form focus. fixes #17533 , #17544
...
git-svn-id: trunk@27596 -
2010-10-07 06:31:58 +00:00
zeljko
f80a1aaa04
Gtk2: fixed result of TGtk2WidgetSet.EnableWindow()
...
git-svn-id: trunk@27547 -
2010-10-02 16:39:37 +00:00