paul
78a7d0a8a8
win32: correct vista+ menu size for other DPIs (issue #0017878 )
...
git-svn-id: trunk@28196 -
2010-11-13 02:16:03 +00:00
paul
cbbf6dfa12
wince: fix compilation (thanks to Dimitrios Chr. Ioannidis)
...
git-svn-id: trunk@28181 -
2010-11-11 10:22:49 +00:00
paul
2252ae27a0
win32: reimplement DrawParentBackground to support non-themed windows
...
git-svn-id: trunk@28175 -
2010-11-10 09:59:58 +00:00
paul
9bd782a63e
lcl:
...
- add GetDefaultColor to TControl which asks Parent in case widgetset returns clDefault color for it;
- return clDefault instead of clWindow for generic TControl
win32, wince: use TControl.GetDefaultColor in all the places where we used TWSControlClass
git-svn-id: trunk@28172 -
2010-11-10 04:15:43 +00:00
paul
61ed016376
win32: add IsProcessDPIAware function
...
git-svn-id: trunk@28171 -
2010-11-10 03:30:14 +00:00
paul
a2421a3173
win32: don't use csParentBackground if Themes are not enabled
...
git-svn-id: trunk@28153 -
2010-11-08 10:29:58 +00:00
paul
1e7ca80be4
win32: fix 2 typos
...
git-svn-id: trunk@28152 -
2010-11-08 10:23:29 +00:00
paul
f09ed2fb3c
lcl: add TStaticText.Transparent property for Delphi compatibility
...
win32: implement TStaticText.Transparent same way as groupbox transparency
git-svn-id: trunk@28151 -
2010-11-08 09:07:40 +00:00
paul
0fa685a539
win32: remove a mess with painting on notebook, add simple support for csParentBackground required for transparent frames painting
...
git-svn-id: trunk@28149 -
2010-11-08 08:17:16 +00:00
paul
cd70f00a57
win32: make TGroupBox transparent when its color = parent color
...
git-svn-id: trunk@28148 -
2010-11-08 07:24:09 +00:00
paul
f488863f7b
wince: implement clDefault support
...
git-svn-id: trunk@28143 -
2010-11-08 03:17:48 +00:00
paul
8c8ff0c25a
win32: teach listview to set correct clDefault color
...
git-svn-id: trunk@28142 -
2010-11-08 03:16:46 +00:00
paul
c322d95b26
win32: fix CheckListBox brush usage
...
git-svn-id: trunk@28141 -
2010-11-08 03:05:11 +00:00
paul
d35e85a332
win32: restore wm_erasebkgnd default handler after clDefault experiments
...
lcl: more proper implementation for clDefault, add UseCLDefault define to compile with clDefault as default color for controls
git-svn-id: trunk@28140 -
2010-11-08 02:27:02 +00:00
paul
ef89f04c0a
lcl, win32: create right color brush when color = clDefault
...
git-svn-id: trunk@28139 -
2010-11-08 01:32:05 +00:00
paul
b2aa415919
win32: teach statusbar to handle clDefault color
...
git-svn-id: trunk@28116 -
2010-11-07 13:28:08 +00:00
paul
48a20553d3
win32: teach WM_CTLCOLORMSGBOX..WM_CTLCOLORSTATIC to handle clDefault
...
git-svn-id: trunk@28113 -
2010-11-07 13:04:10 +00:00
paul
bc8b1d10f7
win32: fix compilation for fpc 2.4.3
...
git-svn-id: trunk@28112 -
2010-11-07 13:00:41 +00:00
paul
8944d373f9
win32, lcl: further work on clDefault implementation
...
git-svn-id: trunk@28111 -
2010-11-07 12:54:33 +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
paul
d9dba370df
win32: start clDefault implementation
...
git-svn-id: trunk@28108 -
2010-11-06 16:55:08 +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
sekelsenmat
56f71a1c43
Moves the code to set the initial dir for win32 from the LCL to the win32 widgetset. Fixes bug #17772
...
git-svn-id: trunk@28055 -
2010-11-03 10:54:18 +00:00
vincents
3edd6cc7f1
gtk1 interfaces: added TForm.AlphaBlend and TFrom.AlphaBlendValue to the restricted properties, because AlphaBlending is not possible with gtk1 (issue #17730 )
...
git-svn-id: trunk@28049 -
2010-11-03 08:05:53 +00:00
paul
9bcde488e1
win32: fix MenuBar drawing for selected items (issue #0017752 )
...
git-svn-id: trunk@28034 -
2010-11-02 06:14:05 +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
paul
4030c2d591
win32: don't reset the mouse control on wm_ncmmouseleave, do it on wm_ncmousehover instead
...
git-svn-id: trunk@27933 -
2010-10-29 04:26:44 +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
sekelsenmat
0a230875cc
Patch from bug #17725
...
git-svn-id: trunk@27888 -
2010-10-26 15:32:52 +00:00
zeljko
0b0012c997
Qt: fixed bug where TQtTreeWidget (TListView.Style=vsReport) doesn't propagate mouse press & release to LCL when clicked an item.
...
git-svn-id: trunk@27885 -
2010-10-26 14:50:16 +00:00
zeljko
214a49925d
Gtk: fixed potential crash by misusage of intersectRect.
...
git-svn-id: trunk@27881 -
2010-10-26 12:10:08 +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
vincents
535fac5416
nogui interface: added empty EnumFontFamiliesEx to silence an annoying and irrelevant warning on the command line by TWidgetSet.EnumFontFamiliesEx.
...
git-svn-id: trunk@27878 -
2010-10-26 10:31:17 +00:00
mattias
12b4bd48c0
gtk2: clean up
...
git-svn-id: trunk@27877 -
2010-10-26 09:27:49 +00:00
zeljko
c17c45c439
Qt: fixed bug where OnChange() event sender was TQtMemoStrings instead of TCustomMemo, so tests goes into wrong type cast.
...
git-svn-id: trunk@27868 -
2010-10-26 06:59:34 +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
paul
867da8c06b
win32: fix combobox painting (issue #0017665 )
...
git-svn-id: trunk@27845 -
2010-10-25 02:30:01 +00:00