Vadim Zeitlin
a8b3cea302
Correct recently broken checked state handling in wxRearrangeList.
...
The checked state of them wasn't preserved correctly any more since r64875,
correct this by changing the state only after storing the old one.
Closes #12578 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-18 23:43:09 +00:00
Václav Slavík
b390729ff9
Allow empty message in wxRearrangeDialog.
...
If the message is empty, don't reserve space for it at the top; instead,
just make the dialog a bit smaller.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-27 21:45:29 +00:00
Vadim Zeitlin
ab9893576c
Add wxItemContainer::DetachClientObject() and use it in wxRearrangeList.
...
Add a method to detach the item from an item control without deleting it and
use it in wxRearrangeList to correctly swap object client data without
deleting the pointers in the process.
Closes #12201 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-22 12:09:15 +00:00
Vadim Zeitlin
5778dedc92
Swap client data pointers in wxRearrangeList too.
...
If the list box uses client data, we need to swap the data pointers too when
exchanging items in it.
Closes #12201 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-11 10:43:23 +00:00
Vadim Zeitlin
f0bb342fed
added wxUSE_REARRANGECTRL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-11 00:44:02 +00:00
Vadim Zeitlin
5a5f305a0f
make wxRearrangeDialog more customizable and add an example of customizing it to the dialogs sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 14:26:52 +00:00
Vadim Zeitlin
627e6ccd2c
another header for PCH-less compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 13:25:36 +00:00
Vadim Zeitlin
d169fa6aef
fix unused variable warning in release build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 11:30:31 +00:00
Vadim Zeitlin
3a492e5c91
PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 11:29:36 +00:00
Vadim Zeitlin
af67f39da8
added wxRearrange{List,Ctrl,Dialog} and use it in wxHeaderCtrl and wxGrid to provide a way to interactively customize the columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 23:56:56 +00:00