Commit Graph

43921 Commits

Author SHA1 Message Date
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
Robert Roebling
741230732f [ 1922123 ] Generic wxDataViewCtrl leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 12:24:57 +00:00
Robert Roebling
0bdfa38835 Support renderer::LeftClick() in generic code, removed unsupported RightClick(), corrected docs, added test to sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 12:09:15 +00:00
Bryan Petty
bfac616654 Finished initial review of [ca*-ch*] interface headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 09:12:23 +00:00
Vadim Zeitlin
3ccd1b4987 set focus to the control when it's clicked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 23:07:55 +00:00
Vadim Zeitlin
d6f04127fe use wxWANTS_CHARS to allow arrows to work inside the control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 22:30:13 +00:00
Vadim Zeitlin
8354b47d96 make GenerateEvent() public again to fix wxGTK compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 22:25:43 +00:00
Vadim Zeitlin
d2b0608bc2 regenerate VC8 project files after addition of native MSW version of wxCalendarCtrl too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 18:39:44 +00:00
Vadim Zeitlin
db0b0942f8 implemented toggling of wxCAL_MONDAY_FIRST in the native MSW version of wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 16:35:43 +00:00
Vadim Zeitlin
82c6027b47 implemented Mark() in the native MSW version of wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 16:26:39 +00:00
Vadim Zeitlin
b3ed70208b generate double click events in the native MSW version of wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 15:49:08 +00:00
Vadim Zeitlin
a4fcd589a8 generate the correct events in the native MSW version of wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 15:26:37 +00:00
Vadim Zeitlin
ee22a3a2a6 implemented HitTest() in the native MSW version; added test for it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 14:58:44 +00:00
Vadim Zeitlin
7ec5c42e94 implement EnableMonthChange() by restricting the dates range to the current month (this is not ideal as the UI of the control doesn't change, but better than nothing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 14:24:02 +00:00
Vadim Zeitlin
aa7ee888f3 compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 13:07:30 +00:00
Bryan Petty
49d3702212 Intial review of calctrl.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 06:20:48 +00:00
Vadim Zeitlin
5131749617 initial native implementation of wxCalendarCtrl for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 04:17:03 +00:00
Robin Dunn
72da405773 Fix AdjustForOverflow to use item->CalcMin, not item->GetSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 23:27:49 +00:00
Václav Slavík
f89940e6d0 Fixed timing of malformed animated GIFs in wxHTML (patch #1926825 by Gennady Feller)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 18:57:26 +00:00
Vadim Zeitlin
0e20728015 replace wrong wxUSE_DYNAMIC_LOADER test with the correct wxUSE_DYNLIB_CLASS one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 12:47:16 +00:00
Stefan Csomor
2ff16902a4 fixing the build for wxMAC_USE_COCOA=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 12:09:33 +00:00
Stefan Csomor
ed6e7f8cfe GetPixel isn't returning RGBColor anymore, so change call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 11:47:44 +00:00
Stefan Csomor
056ccb81e0 GetPixel isn't returning RGBColor anymore, so change call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 11:41:32 +00:00
Francesco Montorsi
27de83cd5b removed FAQs: they are already available in the website; there's no reason to duplicate them here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 08:37:20 +00:00