Paul Cornett
|
04ee05f92a
|
fix a huge number of build errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-17 18:26:00 +00:00 |
|
Václav Slavík
|
ad1c5f459b
|
fixed wxGenericTreeCtrl::DoThaw to call base class' method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-04 10:06:05 +00:00 |
|
Vadim Zeitlin
|
6621957fe2
|
use platform-specific styles in xTR_DEFAULT_STYLE but don't impose them forcefully in wxGenericTreeCtrl ctor as this prevents people from using them even if they explicitly want to do it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-12 23:06:09 +00:00 |
|
Robert Roebling
|
a8a8915453
|
Applied [ 1867939 ] fixes for wxTreeCtrl crashes when exiting from label editing to wxListCtrl as well and made code more similar to wxTreeCtrl' code doing the same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-10 14:58:21 +00:00 |
|
Robert Roebling
|
d0e2c75cfa
|
Simplified code and applied [ 1867939 ] fixes for wxTreeCtrl crashes when exiting from label editing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-10 14:35:30 +00:00 |
|
Vadim Zeitlin
|
17808a7596
|
move Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently (i.e. recursively, as described in the docs) in all ports; removed different duplications of freeze count from derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-05 00:21:31 +00:00 |
|
Stefan Csomor
|
e51bc1ec1a
|
font updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-12-01 05:21:11 +00:00 |
|
Stefan Csomor
|
9553702e46
|
mac cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-11-20 16:21:04 +00:00 |
|
Vadim Zeitlin
|
624f89c2d7
|
don't update the tree unnecessarily in Expand/CollapseAllChildren() (patch 1809520)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-10-20 14:55:50 +00:00 |
|
Vadim Zeitlin
|
f73eddd2a5
|
made wxTreeCtrl::GetNextVisible() behave in the same way in Win32 as in the generic version and implemented GetPrevVisible() in the generic version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-10-07 21:58:51 +00:00 |
|
Vadim Zeitlin
|
f0eebb39bc
|
don't create m_dottedPen with an invalid 0 style which results in an assert under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-10-07 21:48:09 +00:00 |
|
Vadim Zeitlin
|
1457ea31cd
|
correct the last patch: we should compare wxGenericTreeItem pointers, not a pointer with an id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-07-21 11:41:34 +00:00 |
|
Vadim Zeitlin
|
6f7f0d0a2d
|
don't assert when right/down cursor arrows are used in an empty tree control with wxTR_HIDE_ROOT style (patch 1756184)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-07-18 23:42:58 +00:00 |
|
Václav Slavík
|
b5dbe15d0b
|
added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-07-09 10:09:52 +00:00 |
|
Robert Roebling
|
02e817a239
|
Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-05-05 10:13:53 +00:00 |
|
Robin Dunn
|
96aaaff865
|
invalidate the best size when adding or deleting items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-04-26 01:04:47 +00:00 |
|
Vadim Zeitlin
|
b4a980f4f5
|
don't use obsolete functions (mostly copystring() and Count()), remove their documentation (patch 1697956)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-04-11 00:23:19 +00:00 |
|
Mattia Barbon
|
eafd76b02c
|
Replace direct calls to ProcessEvent() with
GetEventHandler()->ProcessEvent().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-04-09 16:43:23 +00:00 |
|
Vadim Zeitlin
|
c1dc9f8394
|
removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-03-07 11:35:04 +00:00 |
|
Kevin Ollivier
|
ed9a7a63b8
|
Generic list and tree ctrl should not use the focused selection color when the top level window is not active.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-01-07 01:15:20 +00:00 |
|
Vadim Zeitlin
|
1f640c45d4
|
more woodoo in DoGetBestSize() to get rid of tree borders for default-sizes controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-12-02 12:51:34 +00:00 |
|
Vadim Zeitlin
|
b9643cd619
|
cache the best size in overridden DoGetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-11-27 16:35:06 +00:00 |
|
Vadim Zeitlin
|
54a4121a62
|
corrected wxTreeCtrl::GetBestSize() for a control with borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-11-25 14:54:22 +00:00 |
|
Kevin Ollivier
|
a4609ab847
|
Implement wxRendererMac::DrawItemSelectionRect and move the generic wxTreeCtrl to using it to draw selected items.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-11-19 06:28:47 +00:00 |
|
Robert Roebling
|
05d9753817
|
Just use the already existing wxRenderer::DrawItemSelectionRect()
from wxListCtrl and wxTreeCtrl; and document it...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-11-14 10:20:38 +00:00 |
|
Julian Smart
|
0396d31b57
|
GTK+1 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-11-12 13:11:06 +00:00 |
|
Robert Roebling
|
ccdbdc8936
|
Added native selection rectangle drawing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-11-11 00:22:20 +00:00 |
|
Julian Smart
|
9e4355850b
|
Generic fix for full row highlight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-11-04 16:10:28 +00:00 |
|
Stefan Csomor
|
72366f68d1
|
removing additional offset - why did this ever work ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-11-04 10:38:15 +00:00 |
|
Robin Dunn
|
170acdc90e
|
GetBestFittingSize --> GetEffectiveMinSize
SetBestFittingSize --> SetInitialSize
SetBestSize --> SetInitialSize
SetInitialBestSize --> SetInitialSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-10-31 08:50:17 +00:00 |
|
Kevin Ollivier
|
4b8fa6349a
|
Use the same selection highlight and text colors as native list/tree controls (i.e. Finder) do. Also, for wxTreeCtrl, enable wxTR_FULL_ROW_HIGHLIGHT when the default style is used, again to match OS LNF.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-10-24 00:23:37 +00:00 |
|
Robert Roebling
|
80fdb7b34d
|
Remove tree control lines unconditionally under
GTK2 (similar to what wxMac does) as it simply
looks wrong (as we are using GTK+ tree buttons).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-10-14 13:24:26 +00:00 |
|
Robert Roebling
|
b9d880d638
|
[ 1563875 ] wxTreeCtrl::FindItem asserts when item not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-09-24 10:06:02 +00:00 |
|
Robert Roebling
|
714dfaa6fb
|
Fixed [ 1558015 ] No deselection event from wxGenericTreeCtrl::SelectItem()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-09-19 18:18:26 +00:00 |
|
Robert Roebling
|
d1526a6787
|
Remove debug code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-09-17 10:30:06 +00:00 |
|
Robert Roebling
|
49e74855af
|
More RTL work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-09-13 22:20:10 +00:00 |
|
Robert Roebling
|
03703fc0af
|
Reverse Left and Right meaning of keys.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-09-12 09:57:24 +00:00 |
|
Robert Roebling
|
847dfdb422
|
Implement dc mirroring for RTL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-09-11 10:32:43 +00:00 |
|
Vadim Zeitlin
|
3a1a76a8be
|
update the item width when making it bold, otherwise the selection highlight was too small after an item was made bold (and too big after it was reset to normal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-08-19 14:17:26 +00:00 |
|
Vadim Zeitlin
|
da87911d65
|
generate middle click events (patch 1521314)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-07-25 00:09:49 +00:00 |
|
Vadim Zeitlin
|
be085544e9
|
fixed typos in last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-07-24 18:30:43 +00:00 |
|
Vadim Zeitlin
|
3e6e514739
|
do nothing in Refresh() if the control is frozen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-07-24 18:18:34 +00:00 |
|
Vadim Zeitlin
|
27f8357f3c
|
call DoDirtyProcessing() from OnIdle() instead of using wxYield() (patch 1518119)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-07-24 18:12:23 +00:00 |
|
Robin Dunn
|
1a51c85ff3
|
ExpandAll and ExpandAllChildren are in wxTreeCtrlBase now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-07-03 20:55:39 +00:00 |
|
Vadim Zeitlin
|
09f277d683
|
added a wxTreeEvent ctor taking the associated wxTreeCtrl and optional wxTreeItemId; this reduces code duplication and also allows us to easily ensure that client data pointer is set properly for all events (it was never initialized before) (replaces patch 1503531)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-06-27 14:58:46 +00:00 |
|
Vadim Zeitlin
|
be0e5d699f
|
made wxTree/ListCtrl::HitTest() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-06-14 12:00:57 +00:00 |
|
Włodzimierz Skiba
|
fec9cc08e7
|
Include wx/textctrl.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-06-06 07:23:19 +00:00 |
|
Włodzimierz Skiba
|
2a673eb1c9
|
Include wx/listbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-06-01 08:23:42 +00:00 |
|
Włodzimierz Skiba
|
9eddec696f
|
Include wx/settings.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-05-24 07:16:32 +00:00 |
|
Włodzimierz Skiba
|
c0badb709a
|
Include wx/timer.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-05-23 11:04:37 +00:00 |
|