Robert Roebling
|
c220de0b39
|
Added experimental async clipboard format query
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-21 22:15:50 +00:00 |
|
Vadim Zeitlin
|
1c7ae45ab5
|
fix for compilation with newer DMC headers (see #10112)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-21 02:48:45 +00:00 |
|
Vadim Zeitlin
|
89424d9b35
|
remove m_endModalCalled flag, it seems to be unnecessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-21 01:37:39 +00:00 |
|
Vadim Zeitlin
|
88a6739128
|
don't restore the focus manually after closing the dialog, default Windows behaviour seems to work just fine now (see #10240)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-21 01:33:15 +00:00 |
|
Jaakko Salli
|
91c818f829
|
Fixed various inconsistencies with deleting properties, added wxPGProperty::DeleteChildren()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-20 15:47:05 +00:00 |
|
Robert Roebling
|
a881f34e49
|
Call Expand on an item's parent chain in EnsureVisible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-20 15:11:38 +00:00 |
|
Robert Roebling
|
76c13f8f22
|
Implemented wxBitmapToggleButton generically for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-19 16:04:31 +00:00 |
|
Vadim Zeitlin
|
014b109195
|
define USE_ONLY_STATIC_WEAKREF for g++ < 3.3 too (3.2 is reported not to work otherwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-19 09:58:49 +00:00 |
|
Vadim Zeitlin
|
5a9379d7b0
|
implement wxLoadedDLL, a safer alternative to wxDL_GET_LOADED (closes #10208)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-17 22:19:41 +00:00 |
|
Vadim Zeitlin
|
90dea0376a
|
don't change the value of the hash element if insert() didn't add it (closes #10261)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-17 09:34:48 +00:00 |
|
Chris Elliott
|
5953e7c7d6
|
fix for Borland compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-17 09:26:58 +00:00 |
|
Vadim Zeitlin
|
1d9301a914
|
PCH-less build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-17 08:47:30 +00:00 |
|
Vadim Zeitlin
|
482d06f8b5
|
made wxHeaderCtrl::GetColumn() const to get rid of the const_cast<>s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-17 00:11:57 +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 |
|
Robert Roebling
|
5179bc0bca
|
Fixes #10247: wxDataViewCtrl - event is generated when clicking on a non existing row
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-16 21:57:40 +00:00 |
|
Robert Roebling
|
739a839903
|
Added wxDataViewCtrl::IsExpanded(item)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-16 21:23:55 +00:00 |
|
Vadim Zeitlin
|
31ec8b4e15
|
added wxGrid::SetColumnsOrder() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-16 15:53:38 +00:00 |
|
Vadim Zeitlin
|
613de0e89e
|
handle actions of the columns popup menu in wxHeaderCtrl itself (but the derived class must implement UpdateColumnVisibility()); also renamed wxHD_DRAGDROP to wxHD_ALLOW_REORDER as it will be possible to reorder columns interactively using a customization dialog and not just by dragging them soon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-15 22:42:37 +00:00 |
|
Vadim Zeitlin
|
e8f25dbbce
|
added a helper function to show the popup menu allowing to configure the columns in header control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-15 11:03:59 +00:00 |
|
Vadim Zeitlin
|
565382de29
|
disable UI updating during GetPopupMenuSelectionFromUser() execution to avoid unexpected clashes between the ids used in it and the update UI handlers elsewhere in the program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-15 11:02:49 +00:00 |
|
Vadim Zeitlin
|
fe79f76ba9
|
added helper Is{Col,Row}Shown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-15 10:44:29 +00:00 |
|
Vadim Zeitlin
|
3039ade95d
|
renamed GetColHeader() to GetGridColHeader() for consistency with the other existing accessors (even if this is redundant) and made it public/documented (also documented the others)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-15 10:34:04 +00:00 |
|
Vadim Zeitlin
|
59704b49c2
|
don't mistake a simple click on a column for a reordering drag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 23:12:30 +00:00 |
|
Vadim Zeitlin
|
2e733ec74c
|
fix several bugs in index/position translation code between wx and MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 22:54:34 +00:00 |
|
Vadim Zeitlin
|
040b9528d1
|
don't use the hack with adding hidden columns to the native control because it doesn't play well with resizing; maintain the mapping between wx and MSW column indices internally even if this is much more work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 22:06:58 +00:00 |
|
Vadim Zeitlin
|
f665539195
|
no changes, just refactoring: extracted the code to update the column indices array when the number of columns changes to the common code to be able to reuse it from the MSW version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 21:56:38 +00:00 |
|
Vadim Zeitlin
|
4797b0145c
|
refresh the grid after resetting the columns positions to the default order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 20:45:39 +00:00 |
|
Vadim Zeitlin
|
da5a641fc8
|
added wxHeaderCtrl::ResetColumnsOrder() function; use it from wxGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 20:02:44 +00:00 |
|
Vadim Zeitlin
|
009c72169f
|
add support for hiding columns when using native header control in wxGrid; also added convenient Hide/ShowCol() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 17:28:57 +00:00 |
|
Vadim Zeitlin
|
11393d2900
|
add support for sorting to grid columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 00:02:30 +00:00 |
|
Kevin Ollivier
|
e413198572
|
Forward port new wxRenderer methods in 2.8 to trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-13 17:36:27 +00:00 |
|
Vadim Zeitlin
|
cd68daf58a
|
support column reordering using drag and drop when using wxHeaderCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-13 00:24:39 +00:00 |
|
Vadim Zeitlin
|
cd4f6f5f8f
|
fix compuation of dirty cells when the columns are reordered, this didn't work at all before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-12 17:34:13 +00:00 |
|
Vadim Zeitlin
|
8ad170cb85
|
STL build: fix missing const which results in Insert(int, T) being called instead of Insert(iterator, T) via iterator->bool conversion (this fixes at least one test failure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-12 16:57:11 +00:00 |
|
Vadim Zeitlin
|
1bb7462687
|
don't duplicate the column reordering in generic wxHeaderCtrl and wxGrid, extract it into a (public) helper function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 22:27:02 +00:00 |
|
Vadim Zeitlin
|
38cd07c431
|
don't lose the scroll offset when the window is repositioned
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 22:06:55 +00:00 |
|
Vadim Zeitlin
|
ad805b9e0d
|
added wxGrid::UseNativeColHeader() (column reordering doesn't work yet); more wxGrid clean up: refactor Init/InitVars/Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 19:21:20 +00:00 |
|
Vadim Zeitlin
|
4635abaca6
|
added wxHeaderCtrl::OnColumnCountChanging()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 17:15:43 +00:00 |
|
Jaakko Salli
|
f915d44b3f
|
Added wxPropertyGridInterface::RemoveProperty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 17:11:35 +00:00 |
|
Vadim Zeitlin
|
e068310a5a
|
added wxVector::resize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 13:45:04 +00:00 |
|
Vadim Zeitlin
|
de150f6af9
|
export wxSettableHeaderColumn from DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 13:27:03 +00:00 |
|
Vadim Zeitlin
|
dcb6cbecc8
|
extract setters from wxHeaderColumnBase into a separate wxSettableHeaderColumn class as we don't always need to implement them in order to use this class; also renamed wxHeaderColumnBase to just wxHeaderColumn as we didn't have any wxHeaderColumn at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 13:05:48 +00:00 |
|
Francesco Montorsi
|
953aebc2d5
|
substitute (c) and (C) for copyright strings as documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 12:14:14 +00:00 |
|
Vadim Zeitlin
|
6327cdd57c
|
implement column reordering by dragging in the generic wxHeaderCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-11 00:49:34 +00:00 |
|
Vadim Zeitlin
|
51810d4d7e
|
deprecate wxStringEq
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-10 20:07:33 +00:00 |
|
Vadim Zeitlin
|
70405f7e3d
|
undo accidental change of r57233
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-10 16:24:54 +00:00 |
|
Vadim Zeitlin
|
74d283aac4
|
properly implement Do[GS]etColumnsOrder() in the generic wxHeaderCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-10 16:24:08 +00:00 |
|
Vadim Zeitlin
|
20db5469a0
|
provide Do[GS]etColumnsOrder() stubs for the generic wxHeaderCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-10 16:09:58 +00:00 |
|
Vadim Zeitlin
|
565804f2b9
|
added EVT_HEADER_DRAGGING_CANCELLED event sent when either resizing or reordering operation is cancelled instead of having a special cancelled flag in normal END_RESIZE/REORDER events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-10 16:05:21 +00:00 |
|
Vadim Zeitlin
|
702f5349c6
|
implement column reordering support in wxMSW wxHeaderCtrl; use it in wxDataViewCtrl (and make difference between column indices and positions more clear in it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-10 15:56:11 +00:00 |
|