Robert Roebling
33fe475aeb
This fixes a problem in the two tree and list controls that
...
are trigger if the user app shows dialog in reaction to
the user pressing e.g. <ENTER>. The edit text control will
lose focus and emit another event. Might be possible to
fix without adding another field, but this way it surely
works.
Also added correction to treecontrol as per listcontrol in
the situation when a label change happens by losing the
focus and the user cannot reject it, another event is emitted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:25:29 +00:00
Stefan Csomor
d108f23649
adapt to mac l&f
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 19:55:18 +00:00
Vadim Zeitlin
0afa5859ab
wxGenericListCtrl::SetItemState(-1) now changes the state of all items (patch 1101650)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 17:07:17 +00:00
Stefan Csomor
fec8346a04
using correct theme heights for header on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 20:23:02 +00:00
Włodzimierz Skiba
c47addef10
wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 20:34:34 +00:00
Włodzimierz Skiba
2997ca30d6
Use default constructors for wxSize/Point/Rect.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 21:33:56 +00:00
Robert Roebling
18216ae352
Applied context menu patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 12:45:26 +00:00
Kevin Hock
eb3d60a26f
Clean up indentation / tabs from previous patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 22:45:40 +00:00
Robert Roebling
8df443926c
Applied selection patch from G.R.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 21:51:02 +00:00
Kevin Hock
eaefbb887c
Make list consistent with tree in terms of Vetoed changes closing the inline edit and right-clicking on an item selecting it [patch 1110252]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 23:52:55 +00:00
Robin Dunn
3e172c2019
wxEVT_MOUSEWHEEL is always defined, no #if needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-28 16:38:06 +00:00
Włodzimierz Skiba
2ac08aeb99
MinGW warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 13:26:04 +00:00
Robin Dunn
185f6036f8
Bug fix for [ 1059381 ] Mouse wheel does not work in listctrl with gtk2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 15:59:21 +00:00
Włodzimierz Skiba
b713f8919c
wx/math.h integration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:52:13 +00:00
Robert Roebling
ababa106ae
Add SetFocusIgnoringChildren() to wxControlContainer. This
...
makes corresponding hacks in wxListCtrl and wxTreeCtrl
obsolete. With docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 12:51:05 +00:00
Robert Roebling
1e6601c72f
wxListCtrl::InsertItem() ignored the column.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 12:09:18 +00:00
Kevin Hock
34621cc5d6
Documentation patch from Olly Betts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 19:11:07 +00:00
Stefan Csomor
ca80fdee5e
__WXMAC_OSBUILDTYPE__ selections are now only defined if they are TRUE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 10:36:33 +00:00
Robin Dunn
611a725ecd
Check for an image list before complaining in OnGetItemImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 16:14:41 +00:00
Vadim Zeitlin
aba3d35e7b
don't deprecate SetItemImage() with 3 parameters; just add a default value for the last one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 22:27:45 +00:00
Julian Smart
c3627a004d
Deprecated SetItemImage with 2 image ids
...
Deprecated _GET_INFO, _SET_INFO list control events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 19:12:23 +00:00
Václav Slavík
66370e3854
implementation should use DoFindFocus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 15:30:09 +00:00
Václav Slavík
0fe0275981
changes to make wxWindow::FindFocus work as expected with composite controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 14:34:28 +00:00
Vadim Zeitlin
81ce36aa59
more 64 bit correctness fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 09:25:47 +00:00
Stefan Csomor
309e4c1464
setting the mac theme font only in VARIANT_NORMAL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 06:49:26 +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
Włodzimierz Skiba
9da89d3100
We need one float argument to perform floating point division.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 17:10:18 +00:00
Václav Slavík
768276f6ed
fixed sending 2 events (normal and bogus cancel one) when ending to edit a tree ctrl item (same thing as patch 978403 for treectlg.cpp)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 08:53:10 +00:00
Vadim Zeitlin
e6bf95736e
compilation fix for a patch which didn't compile...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:52:40 +00:00
Vadim Zeitlin
8158e0e169
FindItem() implementation (patch 950021)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:32:59 +00:00
Václav Slavík
daa44d5bfd
documented while event.Skip() is necessary so that nobody removes it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 16:45:23 +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
Włodzimierz Skiba
c7cf7a783b
GetItemCount is int.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 09:42:25 +00:00
Robin Dunn
33c956e61c
Allow any too-large index to mean Append, just like on MSW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 20:29:17 +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
Vadim Zeitlin
39e39d3944
use CmdDown() instead of #ifdefs for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 00:05:56 +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
Robin Dunn
015fd9ef48
Allow for Cmd-click on wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 01:09:06 +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
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
Robin Dunn
e70457844a
Fixed compile warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 23:03:15 +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
e1d1f4bd99
moved #define to before it is used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 21:15:06 +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
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
Robert Roebling
ae7cbd1a1f
Made space around text symmetric.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 22:17:56 +00:00
Vadim Zeitlin
b5d43d1d73
use HasFlag() and InXXX() instead of explicit flag testing (patch 899507)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 23:24:35 +00:00
Robert Roebling
65a1f3509b
The list ctrl doesn't draw any focus
...
item under Mac at all.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-22 18:10:24 +00:00
Robert Roebling
518c393914
Fix redraw problem in multiple selection listctrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 23:17:49 +00:00