Stefan Csomor
6574f2b143
adapting textctrl position to window theme
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 07:07:26 +00:00
Stefan Csomor
3b656728dd
repositioning of mac textctrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-29 10:07:39 +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
Vadim Zeitlin
09088d12d4
compilation fix after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:48:14 +00:00
Vadim Zeitlin
eb7f24c1b5
don't crash if we delete the item being edited (replaces patch 979733)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:24:17 +00:00
Václav Slavík
9146872cb5
changed to behave in same way as native win32 control and generic wxListCtrl when wxEVT_COMMAND_TREE_END_LABEL_EDIT is vetoed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 16:45:28 +00:00
Włodzimierz Skiba
422d0ff0be
wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Vadim Zeitlin
92a4e4de68
don't set font unless necessary (patch 984853)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-04 11:20:44 +00:00
Václav Slavík
fa47d7a7ad
SetDefaultXXX -> SetOwnXXX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 17:12:03 +00:00
Stefan Csomor
bef7a62d8f
unicode fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 07:28:52 +00:00
Vadim Zeitlin
2b4f324ae2
fixed sending 2 events (normal and bogus cancel one) when ending to edit a tree ctrl item (patch 978403)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 18:26:49 +00:00
Włodzimierz Skiba
ca65c0440a
Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 16:22:36 +00:00
Vadim Zeitlin
ffda4dacbd
count the root item in wxTreeCtrl::GetCount()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 12:06:10 +00:00
Robin Dunn
05b2a432c6
Fix for bug# 956875. Added some wxCHECK's to MSW's wxTreeCtrl to make
...
things more consistent with the generic version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 04:33:35 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Dimitri Schoolwerth
3f927d5023
fixed unused variable warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 23:47:14 +00:00
Robin Dunn
944b1f5e17
Don't #include the extra files unless we need them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 21:40:49 +00:00
Robin Dunn
35d4c96744
Use wxVisualAttributes (partially #if'd out until tested further.)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 21:01:24 +00:00
Vadim Zeitlin
df74fdeafd
GetChildrenCount() should be const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 09:44:32 +00:00
Vadim Zeitlin
e1983ab588
implemented Freeze/Thaw() (patch 922156)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 17:10:30 +00:00
Vadim Zeitlin
3a5bcc4db0
removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 13:10:14 +00:00
Vadim Zeitlin
0efd57325c
just an unused var warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 20:06:36 +00:00
Stefan Csomor
f89d65ea8d
mac fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 08:51:10 +00:00
Václav Slavík
c8fce1a43c
fixed tree item size calculation (patch 922454, partially)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 23:01:38 +00:00
Robert Roebling
74707d69ca
Applied SetItemData() patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 16:21:19 +00:00
Julian Smart
73bb677607
Improved wxTreeCtrl tooltip processing performance (causing
...
major delays in processing button clicks)
Added wxFULL_REPAINT_ON_RESIZE as default for wxStatusBar
on wxGTK since otherwise there are display problems.
Similarly for wxGrid.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 17:28:36 +00:00
Robert Roebling
f8b043e78f
Added better visual feedback for tree control
...
triangles. They now have a sort of prelight
status like they have under GTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 23:12:33 +00:00
Vadim Zeitlin
78f1210463
implemented SelectItem(item, bool); UnselectItem() and ToggleItemSelection()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 19:14:41 +00:00
Julian Smart
bc0aebab3e
Remove bad casts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 20:32:41 +00:00
Julian Smart
5b5ea46641
Added wxUSE_TOOLTIPS guard for previous patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 10:24:00 +00:00
Julian Smart
4a5d781ca6
Applied [ 858342 ] Event-based processing of item tooltips in generic TreeCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 10:20:48 +00:00
Vadim Zeitlin
999836aaca
warning fixes for BCC and OW (heavily modified patch 819146)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:28:15 +00:00
Vadim Zeitlin
d5d29b8a22
renamed WX_DEFINE_ARRAY_NO_PTR in WX_DEFINE_ARRAY_PTR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-08 22:13:14 +00:00
Vadim Zeitlin
ac8d0c118b
added wxVALIDATOR_PARAM and use it to avoid warnings about unused validators when wxUSE_VALIDATORS==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:54:51 +00:00
Stefan Csomor
a6b0ca7571
corrected hit-testing for mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 15:37:58 +00:00
Vadim Zeitlin
0e7761fade
trying to fix the generic tree appearance problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 00:38:32 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Vadim Zeitlin
a0fad72341
compilation fix for VC6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 13:04:58 +00:00
Vadim Zeitlin
836543b810
fix for bug introduced in GetNextChild() yesterday
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 20:52:32 +00:00
Vadim Zeitlin
9c7f49f569
added wxRendererNative to be used by the generic controls for rendering platfomr-specific parts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 17:52:26 +00:00
Vadim Zeitlin
2d75caaa6d
fixes for deprecated warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 14:01:00 +00:00
Vadim Zeitlin
ee4b272189
replaced untyped hash with a typed one; 64 bit fixes (don't cast pointers to long...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:06:59 +00:00
Vadim Zeitlin
6108e3fd32
added NO_PTR versions of ARRAY macros to suppress warnings (based on patch 770983)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:46:29 +00:00
Vadim Zeitlin
35cf1ec63c
fixes to allow dragging in multiselection tree ctrl (patch 759421)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 13:03:30 +00:00
Julian Smart
5180055b69
OnIdle -> OnInternalIdle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 17:15:09 +00:00
Robert Roebling
865864592a
Corrected wxTreeCtrl and wxListCtrl end_label_edit event behaviour.
...
wxListCtrl doesn't send this event when the editing was cancelled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:24:52 +00:00
Julian Smart
ff38281aa1
Fixed crash in EnsureVisible in wxTR_HIDE_ROOT mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 21:48:24 +00:00
Julian Smart
3e3a7b97ec
Implemented delayed selection (e.g. after adding the root
...
or deleting items) so that the event handler will be
called appropriately.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 15:37:30 +00:00
Julian Smart
c4e98b3311
Disabling code that causes display glitch on Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 16:17:42 +00:00