Commit Graph

13273 Commits

Author SHA1 Message Date
zeljko
c6bdd569fa Qt: fixed strange behaviour of QTreeWidget selection when multiselection is enabled (TListView.Style = vsReport). issue #18972
git-svn-id: trunk@30198 -
2011-04-05 06:19:50 +00:00
paul
e40d070b88 win32: cleanup
git-svn-id: trunk@30197 -
2011-04-05 03:01:51 +00:00
paul
9fadfea500 win32: move last notebook related message handling to own window proc
git-svn-id: trunk@30196 -
2011-04-05 02:53:07 +00:00
paul
902d2755bb win32: cleanup
git-svn-id: trunk@30195 -
2011-04-05 02:42:36 +00:00
paul
f056040452 win32: move notebook related WM_NOTIFY code to NotebookParentMsgHandler
git-svn-id: trunk@30194 -
2011-04-05 01:23:47 +00:00
juha
3a816c7fd1 LCL: Formatting
git-svn-id: trunk@30189 -
2011-04-04 18:51:05 +00:00
zeljko
1049bada99 Qt: issues.xml - added TBitBtn.Layout to restrictions. We cannot change glyph layout inside QPushButton. issue #19088
git-svn-id: trunk@30188 -
2011-04-04 18:03:21 +00:00
zeljko
ecc941f2f6 Gtk2: fixed bug where combobox returned caret position for selection length. issue #19081
git-svn-id: trunk@30185 -
2011-04-04 16:11:17 +00:00
paul
4fc8df4ed0 win32: refactoring: move ShowHideTabPage to win32extctrls, move preprocessing of TCN_SELCHANGE into NotebookParentMsgHandler
git-svn-id: trunk@30173 -
2011-04-04 09:29:12 +00:00
zeljko
ee25740910 Qt: simplified TCN_SELCHANGING for qt < 4.7
git-svn-id: trunk@30172 -
2011-04-04 09:11:48 +00:00
paul
4c97b24012 win32: allow WM_ERASEBKGND processing for TCustomNotebook and descendants (in other case left/right tab notebooks contains garbage)
git-svn-id: trunk@30170 -
2011-04-04 09:06:46 +00:00
zeljko
53bf526a50 Qt: fixed mouse wheel event with qt < 4.7. Now it does same as qt-4.7.
git-svn-id: trunk@30169 -
2011-04-04 08:59:42 +00:00
zeljko
fe743caa95 Qt: remove redundant line breaks when reading from lfm.Patch by Vladimir Zhirov issue #18278.
git-svn-id: trunk@30168 -
2011-04-04 07:53:38 +00:00
paul
335de8955d lcl: invalidate splitter on ResizeAnchor change (issue #0018254)
git-svn-id: trunk@30167 -
2011-04-04 06:15:01 +00:00
paul
318a6d8d6f win32: don't activate forms when we only need to change z-order (issue #0018494)
git-svn-id: trunk@30166 -
2011-04-04 05:49:56 +00:00
paul
f42a381547 lcl: add TSplitter.OnCanOffset event (issue #0016629)
git-svn-id: trunk@30165 -
2011-04-04 05:34:32 +00:00
zeljko
da1579018e LCL: TCustomRadioGroup - trigger OnClick if ItemIndex is programatically changed before Handle is allocated to be Delphi compatibile.Fixes issue #15989
git-svn-id: trunk@30161 -
2011-04-03 18:53:37 +00:00
zeljko
524d3d34c9 Gtk2: do not send TCN_SELCHANGE from same routine where TCN_SELCHANGING is sender, use after signal connection to send TCN_SELCHANGE.Patch by Christian. issue #18930
git-svn-id: trunk@30160 -
2011-04-03 18:28:52 +00:00
zeljko
343e50d39c Qt: fixed bug where TPageControl.OnChanging AllowChange param wasn't respected, so if AllowChange=False, qt changed page anyway.
git-svn-id: trunk@30159 -
2011-04-03 18:24:44 +00:00
zeljko
7674b680b6 Qt: fixed bug when control doesn't have csCaptureMouse, but mouse is higher than width or height of control.
git-svn-id: trunk@30153 -
2011-04-03 13:39:55 +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
paul
aecfd2f738 lcl: implement TListBox.ScrollWidth:
- win32, wince: set/get scrollwidth using LB_SETHORIZONTALEXTENT/LB_GETHORIZONTALEXTENT (issue #0018912)
  - qt, gtk2: don't show listbox horizontal scrollbar by default. show it only when scrollwidth > content area

git-svn-id: trunk@30138 -
2011-04-02 17:30:44 +00:00
marc
031074fb47 * When a maskhandle of a bitmap is set, update the masked property too
git-svn-id: trunk@30135 -
2011-04-02 16:21:47 +00:00
marc
e999be5449 * Clear pixmap contents of empty mask. The contents of a new pixmaps is undefined
git-svn-id: trunk@30134 -
2011-04-02 16:19:42 +00:00
paul
c0ca12b0b3 win32: fix compilation
git-svn-id: trunk@30133 -
2011-04-02 16:14:06 +00:00
paul
e9016d46d3 win32: cleanup
git-svn-id: trunk@30132 -
2011-04-02 15:42:29 +00:00
paul
e191075b61 win32: remove WindowInfo^.needParentPaint set in CreateHandle of ListBox and CheckListBox - they are set during WM_NCCREATE
git-svn-id: trunk@30091 -
2011-03-31 00:56:20 +00:00
zeljko
3b4ec3eed8 Gtk2: avoid assertions from TListView itemSetState when path is null for gtk2 libs >= 2.14. issue #18865
git-svn-id: trunk@30089 -
2011-03-30 17:48:56 +00:00
zeljko
bf7ad8a2f9 Qt: fixed msg providing to LCL when deselection of items occured by mouse click into listview viewport. issue #18972
git-svn-id: trunk@30078 -
2011-03-30 09:53:16 +00:00
paul
e0f19a0bea lcl: cleanup
git-svn-id: trunk@30077 -
2011-03-30 01:43:40 +00:00
paul
a7f36e8fb3 lcl: don't scroll inner control with TScrollingWinControl when it is visible (issue #0019020)
git-svn-id: trunk@30076 -
2011-03-30 01:42:52 +00:00
paul
4aefc884a2 win32: change handling of WM_MEASUREITEM:
- look at CtlType before searching for menu,
  - move ListBox, Combobox WM_MEASUREITEM to their window procedures
  - subclass ListBox, CheckListBox to set control ID on window creation
  - set control ID in FinishCreateWindow by SetWindowLong call (I previously removed it from CreateWindow call)

git-svn-id: trunk@30075 -
2011-03-30 01:38:00 +00:00
zeljko
1c92a3ea27 Qt: take into account vertical and horizontal scrollbars position when setting bounds for children of TScrollBox.issue #18993
git-svn-id: trunk@30072 -
2011-03-29 16:25:19 +00:00
zeljko
a0ceb2bdb1 *Qt: invalidate clientrect cache when scrollbar range is changed.part of issue #18993
git-svn-id: trunk@30068 -
2011-03-29 11:44:29 +00:00
paul
b6dfaf0b4b lcl: formatting
git-svn-id: trunk@30060 -
2011-03-29 05:25:21 +00:00
paul
eb193faaf6 win32: move handling of hint window messages to a dedicate window proc
git-svn-id: trunk@30059 -
2011-03-29 05:11:02 +00:00
paul
c7ac358e17 win32: move BorderStyleToWin32Flags, BorderStyleToWin32FlagsEx to win32wsforms, fix form style for bsNone with Parent <> nil or ParentWindow <> 0 (don't set WS_POPUP) - fixes issue #0019012
git-svn-id: trunk@30058 -
2011-03-29 04:57:29 +00:00
paul
a84af3e7a0 lcl: change active control when a child form is focused too
git-svn-id: trunk@30057 -
2011-03-29 03:20:19 +00:00
paul
32fe9f12d1 win32: send LM_HITTEST to LCL
git-svn-id: trunk@30056 -
2011-03-29 03:08:51 +00:00
paul
6ae245e8c8 lcl: skip call of SetActive to a child form
git-svn-id: trunk@30051 -
2011-03-28 08:51:26 +00:00
paul
455a1fcdc3 win32: don't set any menu/child handle on create window at all - this is not required and depends on flags (fixes issue #0019009)
git-svn-id: trunk@30050 -
2011-03-28 08:50:28 +00:00
paul
85e8f8b7a0 win32: remove unneeded condition
git-svn-id: trunk@30047 -
2011-03-28 07:19:40 +00:00
paul
8387ee8302 win32: don't clear WS_CHILD and other unrelated to border style/border icon flags on form handle creation, fix handling of WS_CHILD forms (can be either parent <> nil or ParentWindow <> 0)
git-svn-id: trunk@30046 -
2011-03-28 07:12:19 +00:00
paul
2bd0c336c8 lcl: formatting
git-svn-id: trunk@30045 -
2011-03-28 07:10:57 +00:00
paul
98c49e3bfb lcl: formatting
git-svn-id: trunk@30044 -
2011-03-28 03:23:37 +00:00
paul
7e428c54ed win32: pass WM_WINDOWPOSCHANGING to LCL
git-svn-id: trunk@30043 -
2011-03-28 02:59:58 +00:00
mattias
604d91db73 LCL: ReadAllLinks: stop after 12 levels
git-svn-id: trunk@30028 -
2011-03-27 09:08:23 +00:00
paul
c6d193a983 gtk2: fix crash in calendar (issue #0010190)
git-svn-id: trunk@30018 -
2011-03-25 10:25:33 +00:00
paul
430a3674ca lcl: don't show messages about non-portable symbols while lcl, widgetset compilation
git-svn-id: trunk@30017 -
2011-03-25 09:14:23 +00:00
paul
bc2ceec887 win32: use Vista dialogs by default
git-svn-id: trunk@30016 -
2011-03-25 09:11:29 +00:00