Commit Graph

19 Commits

Author SHA1 Message Date
Robin Dunn
4f73709d9c Set the mouse pos for the drag events, add support for the tooltip event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 18:32:28 +00:00
Robin Dunn
d77016e8aa GetSystemColour --> GetColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 21:55:39 +00:00
Robin Dunn
136518e5c0 Factor out the OnSize code so it can also be used in other places
where the header window needs to be adjusted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 22:10:10 +00:00
Robin Dunn
e4b64104c8 fix compilo for when there are no precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:27:51 +00:00
Robin Dunn
e778b8f059 Correct some redraw glitches in the header when resizing, and also
double buffer the header to eliminate the rest of the flicker.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 20:21:44 +00:00
Robin Dunn
91ce910234 Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 20:34:57 +00:00
Robin Dunn
d5a0636fa0 Improve image hittest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 18:24:13 +00:00
Robin Dunn
d22956def7 off-by-one fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 19:49:00 +00:00
Robin Dunn
ec865862e4 Corrected compile warnings, took out debug printf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 19:24:58 +00:00
Robin Dunn
8e3ca43b37 Patch from Alberto Griggio to use the wxRenderer for drawing the
header and buttons, plus some tweaks from me to calculate the height
of the header based on font size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 18:59:28 +00:00
Robin Dunn
3872d96df2 give the generic tree and list controls a DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:22:37 +00:00
Robin Dunn
da9b415349 fixed crashing bug when trying to set colours too soon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 22:21:05 +00:00
Robin Dunn
648d396ceb use TWIST buttons by default on the Mac, but also make it possible to
skip the style adjustments so the programmer can do what they want too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:58:19 +00:00
Robin Dunn
8fdd04f882 Fixed HitTest for columns > 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 01:58:35 +00:00
Robin Dunn
135df45b2e Oops, forgot to remove som testing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 01:00:12 +00:00
Robin Dunn
f84fa75af9 Fixed lots of painting, clipping and alignment issues.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 00:56:52 +00:00
Robin Dunn
79e55c661b Fix HitTest offset, and some other little things that had been changed
in our old copy of treelistctrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:30:52 +00:00
Robin Dunn
1e03b21d31 m_img* need initialized too otherwise we can end up with rows that are
a million pixels high!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 21:18:50 +00:00
Robin Dunn
28eab81fdc Switch to the TreeListCtrl from the wxCode project.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 04:59:23 +00:00