Commit Graph

40969 Commits

Author SHA1 Message Date
Robert Roebling
4f1cf94b94 Make wxDataViewItemArray more efficient
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 13:51:15 +00:00
Robert Roebling
cb367500d1 Added STL API to wxList docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 13:32:02 +00:00
Václav Slavík
74374c9ecd Vadim's new test broke subsequent asserts, fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 12:30:06 +00:00
Vadim Zeitlin
c8f313b256 added tests demonstrating a bug in wxString::assign(itself)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 10:38:22 +00:00
Robert Roebling
6848478c72 Implement selection API and events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 22:57:13 +00:00
Robert Roebling
a84c5b6feb Implement ...COLUMN_SORTED event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 22:18:22 +00:00
Václav Slavík
968454db03 compilation fix for broken libstdc++ visibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 22:16:30 +00:00
Robert Roebling
6154212e51 Change EnsureVisble() to including column parameter, implemented it for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 21:44:34 +00:00
Václav Slavík
6798451bb2 renamed wxImplStringBuffer to wxStringInternalBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 21:24:50 +00:00
Robert Roebling
718fd18080 Implemented and tested EXPANDED etc events for wxGTK and in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 21:20:24 +00:00
Robert Roebling
6977c3bf4d Added EXPANDING and COLLAPSING events for the user to veto
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 20:42:17 +00:00
Robert Roebling
e98351eca9 Made wxGTK wxDataViewCtrl compile again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 20:11:34 +00:00
Vadim Zeitlin
86e37f69bc fix generation of events from SetValue() broken in rev 46611
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 19:05:56 +00:00
Robert Roebling
b7e9f8b136 Bo's patch adding Selection API and some more changes, doesn't compile yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 19:03:01 +00:00
Francesco Montorsi
0c6fcb099e added wxSVGFileDC docs to main chain
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 16:41:13 +00:00
Francesco Montorsi
ab97173392 added missing \wxheading{Parameters}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 16:35:33 +00:00
Francesco Montorsi
2706e543a6 fixed doc wrong position of \wxheading{Library}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 16:35:10 +00:00
Robert Roebling
d209a914d2 Forgot a line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 14:24:15 +00:00
Robert Roebling
3ecb8a5365 Added ITEM_EXPANDED and ITEM_COLLAPSED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 14:16:29 +00:00
Robert Roebling
7ee7191cee change wxDataViewModel::Compare() to including column and sortorder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 14:12:52 +00:00
Václav Slavík
10d1a99617 use UTF8 build by default on Unix (except Darwin)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 10:16:30 +00:00
David Elliott
6ebbf01f47 Make SetCursor work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 04:01:13 +00:00
David Elliott
ea29564c40 Fix a number of problems with tracking rectangles by avoiding rebuilding them when unnecessary.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 03:25:17 +00:00
Kevin Ollivier
893727e58a Add the unified style on OS X 10.4, and default to using it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 21:49:27 +00:00
Julian Smart
a701b45539 Added documentation for wxNavigationKeyEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 13:04:41 +00:00
Julian Smart
253170d634 Don't hang in ReadLine when there's no input left
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 12:25:23 +00:00
Julian Smart
9a9c35d32c Use new GetItemLabel function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:43:25 +00:00
Julian Smart
5bf3f27fc9 Avoid clash with control container event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:34:45 +00:00
Julian Smart
1c1ad00573 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:34:16 +00:00
Julian Smart
b9d30e5f8f Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:26:24 +00:00
Julian Smart
c7bfb76a2c A number of focus handling improvements:
Left clicking on a window only focuses the window if not processed.
wxControlContainer::SetFocus moved to wxControlContainerBase so that a container now focuses the first child even on wxGTK.
wxAuiBook is now a container, need for correct navigation on wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 10:54:31 +00:00
Julian Smart
927f01da61 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 10:47:42 +00:00
Kevin Ollivier
dcd79bff8c Implement GetCountPerPage, and fix a bug where we don't check for the state mask before altering selection state.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 06:23:02 +00:00
David Elliott
18b32eb5b5 Improve the tracing of the tracking rect manager and mouse movement synthesizer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 05:39:32 +00:00
David Elliott
1f361be22f Change kCFRunLoopBeforeWaiting to kCFRunLoopExit when setting up the run loop
observer for synthesized mouse moved events and add a lengthy comment
explaining the reason for the change.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 05:05:40 +00:00
David Elliott
32660a06c5 Keep the stock cursors in an array so that constructing a cursor with a stock
cursor ID will effectively result in a copy sharing the same ref data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-17 18:11:20 +00:00
Robert Roebling
7d2beb15bb typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-17 10:50:44 +00:00
Vadim Zeitlin
5c92385e69 added a tech note explaining how to write a new XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 21:12:10 +00:00
Vadim Zeitlin
c7db82dced add XRC handler for wxSearchCtrl (extended patch 1751516)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 21:10:14 +00:00
Robert Roebling
b8b7b08777 removed Set/GetSortAscending from wxDataViewModel and move into wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 20:53:54 +00:00
Julian Smart
754dc40969 Implemented Firefox-like behaviour whereby clicking again on a tab focuses the tab, but otherwise the focus goes to the page itself.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 19:25:50 +00:00
Julian Smart
e2125bdc32 Mac fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 19:05:32 +00:00
Robert Roebling
4b859ff461 compile with GTK < 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 18:31:11 +00:00
David Elliott
8ea3a63ea9 Use one run-loop observer for all synthesis of mouse moved events instead of a separate observer for each view.
Actually check the last mouse position and don't send synthesized events if the mouse hasn't moved.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 17:44:11 +00:00
Julian Smart
a0c2e4a050 Added AdvanceSelection, ShowWindowMenu and keyboard handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 16:12:45 +00:00
Julian Smart
974dc0de12 Added missing argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 14:03:17 +00:00
Julian Smart
6d78998725 Added DrawFocusRect to wxRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 12:15:15 +00:00
Vadim Zeitlin
4346581b7c fixed TeX error introduced in rev 48093 (sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 21:27:25 +00:00
Vadim Zeitlin
7738af5957 relinquish the mouse capture when a dialog is about to be made modal to ensure that the mouse can be used in it (patch 1754648)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 21:01:30 +00:00
Vadim Zeitlin
b1294ada8e make wxChoice and wxListBox inherit from wxControlWithItems and not wxControl for all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:31:06 +00:00