Commit Graph

43844 Commits

Author SHA1 Message Date
Robert Roebling
e39de7022c Split wxDataViewVirtualModel fork wxDataViewIndexModel to make the code clearer and let wxDataViewIndexModel behave the same on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 09:27:21 +00:00
Robert Roebling
2edac25b2e Compilo after wxVideoMode change, MSW part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 08:23:58 +00:00
Vadim Zeitlin
c3a899dd92 correct positioning of the control and removed workarounds for old MSW bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 01:06:57 +00:00
Robert Roebling
5cb947fdc2 Some corrections to container class docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 00:17:06 +00:00
Robert Roebling
5b99d5d8ea Mention that the renderer's alignment is ignored under OS X, reorder docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 00:07:14 +00:00
Robert Roebling
bff76efd88 compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 23:28:14 +00:00
Robert Roebling
a39d750168 Test header and renderer aligment separately, II
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 23:16:04 +00:00
Robert Roebling
f593b0b9b0 Test header and renderer aligment separately
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 23:07:23 +00:00
Robert Roebling
05303ccd8d Added alignment parameter to renderers' constr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 23:04:40 +00:00
Robert Roebling
20c3673757 Mention wxDataViewRenderer Set/GetAlignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 22:59:15 +00:00
Robert Roebling
69fb24ce03 Fix compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 20:31:25 +00:00
Vadim Zeitlin
ddf13afcfe no changes, just fix typo in variable name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 20:02:52 +00:00
Vadim Zeitlin
4e553af160 don't bounce back events to the text control recursively as this results in infinite recursion under wxGTK and probably other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 17:02:25 +00:00
Francesco Montorsi
4f960cd100 stdobjects is used for both objects and pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 16:24:11 +00:00
Francesco Montorsi
4d7b68d132 my revision of o-p interface headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 16:19:04 +00:00
Vadim Zeitlin
87e024f7d5 delay setting the window shape until it is realized (slightly modified patch 1935497)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 16:14:49 +00:00
Vadim Zeitlin
f1223c8d55 added a note about entry point in Unicode build (patch 1934836)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 16:01:01 +00:00
Vadim Zeitlin
fa7134b05a use kind, not id, of a menu item to test whether it's a separator: this allows having separators with ids other than wxID_SEPARATOR in case it's useful to distinguish between them (patch 1929039)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:55:42 +00:00
Vadim Zeitlin
9b8d875536 demo toggling border and 3D sash styles (last part of patch 1927817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:46:49 +00:00
Vadim Zeitlin
513f592da6 use wxJoin() instead of redoing it manually in the code logging the messages (part of patch 1927817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:45:36 +00:00
Vadim Zeitlin
20fe9c5acc demonstrate fuller about dialog in ShowFullAboutDialog() (part of patch 1927817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:42:48 +00:00
Vadim Zeitlin
9c2b4cab93 removed (unused) occurrences of _WX_DEFINE_DATE_EVENTS_ (part of patch 1927817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:41:47 +00:00
Vadim Zeitlin
7e45c15989 refresh the item after adding its first child as, apparently, otherwise the '+' is not always drawn immediately (patch 1927179)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:37:52 +00:00
Francesco Montorsi
3fedffdc05 give a name to the enumeration of the values which can be passed to OnDrawItem to make it easier to document it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:35:21 +00:00
Francesco Montorsi
e46fcdb43b documented wxVideoMode (otherwise wxDisplay docs are not very useful)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:34:05 +00:00
Vadim Zeitlin
f71b0c2d56 continue with other handlers if some handler fails in LoadFile() after returning true from CanRead() (modified patch 1926226)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:31:18 +00:00
Francesco Montorsi
6587411805 make sure all wxDefault* and all wxNull* global instances are documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:28:55 +00:00
Vadim Zeitlin
a7507230d1 corrected inverted test in IsEmpty() (patch 1936052)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:25:41 +00:00
Vadim Zeitlin
4922c5f0dd reset m_selection in DeleteAllPages() (patch 1922215); some cleanup of DoRemovePage() in trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:14:25 +00:00
Francesco Montorsi
6c75df8784 small typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 14:49:48 +00:00
Francesco Montorsi
8c6791e43c improved rendering of styles and events sections: put the description of those items on new lines; put the prototype of event handlers on a separate line, too. This change requires that @event and @style macros are _not_ followed by a colon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 14:43:04 +00:00
Vadim Zeitlin
6bdf5153fe no changes, just some cleanup (patch 1918720)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 13:57:23 +00:00
Francesco Montorsi
74bf4e6430 revisions contributed by Utensil Candel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 12:52:58 +00:00
Chris Elliott
79456eac49 SF bug 1895101
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 10:01:03 +00:00
Robin Dunn
97e89e2931 use the same constant the other ports use instead of a magic number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 02:38:17 +00:00
Robin Dunn
247ca48fec Slight reorg of last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 02:13:08 +00:00
Stefan Neis
e203535ff0 Tests for declarations of snprintf/vsnprintf/vsscanf should be done in C++.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 21:00:46 +00:00
Vadim Zeitlin
5fe2804ebb include more headers for PCH-less compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 20:46:09 +00:00
Robert Roebling
ede0e4968c Also right-align second column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 18:25:11 +00:00
Robert Roebling
973dc9079c Always interpret a column width of -1 as 80 until somthing better is found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 18:22:37 +00:00
Vadim Zeitlin
a0b7b49350 use wxCHECK instead of wxASSERT in Alloc() to avoid crashing when (trying to) use strings of length close to INT_MAX (bug 1933693)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:54:02 +00:00
Vadim Zeitlin
0367b92891 document Alloc() vs returning bool (part of bug 1933693)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:50:16 +00:00
Robert Roebling
78f6b056e4 Added test for right alignment of 1st column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:29:08 +00:00
Vadim Zeitlin
0094bc4c41 don't crash in ReadString() if the length read from the stream is too big (bug 1933560)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:28:32 +00:00
Robert Roebling
83087c601f Added test for left/centre/right alignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:26:29 +00:00
Vadim Zeitlin
c912c9400c fix for g++ signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:07:04 +00:00
Vadim Zeitlin
823aaeb9c4 include the headers needed for its compilation from the header itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:05:57 +00:00
Robert Roebling
d2c1ee8a7a Fixed bug that made adding a child to a branch (that was previously made empty) impossible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 13:40:55 +00:00
Robert Roebling
2ddfe921f8 Bugs-1934787 ] Bug in wxDataViewSpinRenderer::CreateEditorCtrl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 12:37:31 +00:00
Robert Roebling
dd570ceb10 Probable fix for [ 1933745 ] Crash in wxDataViewHeaderWindowBase::GetColumn()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 12:33:03 +00:00