Commit Graph

43956 Commits

Author SHA1 Message Date
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
Robin Dunn
17792930dc Call ValueChanged after SetValue so other views will be updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 06:43:36 +00:00
Robin Dunn
53524ca073 fix warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 03:33:13 +00:00
Robin Dunn
6a079bc1f0 Fix for potential layout glitches in wxGridBagSizer when items span cells but
some other item affects the size of one of spanned rows/cols.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 02:50:15 +00:00
Vadim Zeitlin
d7bf6c20fd regenerated after vsscanf() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 13:54:24 +00:00
Vadim Zeitlin
9fdb68d985 wxMac compilation fix: must explicitly qualify non-dependent MacSetClipChildren() in wxScrolled::Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 13:51:30 +00:00
Stefan Neis
a93cf225f7 Added detection of vsscanf and whether or not a prototype exists in headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 12:05:27 +00:00
Francesco Montorsi
42013f4c28 first revision (contains wxHelpEvent and wxNavigationKeyEvent modifications which needs to be solved)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 11:05:46 +00:00
Julian Smart
ffa5147943 Only update the toolbar buttons if the toolbar is visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 10:04:05 +00:00
Bryan Petty
29f86fc182 Restored the old Classes by Category page to live side-by-side with the full Classes by Category grouping.
Also changed the license pages to include the actual license files verbatim rather than duplicated in comments.
Cleaned up the Development Tips page a little fixing some minor issues and wrapping at 80 columns.
Recategorized the WXDEBUG_NEW() macro from the RTTI group to the Debugging group.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 05:29:12 +00:00
Bryan Petty
40c53d1b49 115% line height on lists is more than enough, especially for the class hierarchy and class members pages. Also turned off REPEAT_BRIEF for when we add brief descriptions to classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 01:23:11 +00:00
Vadim Zeitlin
77a96c6742 log error before returning, not after
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 00:10:58 +00:00
Vadim Zeitlin
140d4f0f9c suppress VC++ /Wp64 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 23:44:33 +00:00
Vadim Zeitlin
bf956fac0e move all appearace-related methods down to wxCalendarCtrlBase from wxGenericCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 23:43:34 +00:00
Vadim Zeitlin
09902c517e wxMimeTypesManagerImpl and wxFileTypeImpl are in base, not core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 22:48:55 +00:00
Stefan Neis
db3df3c493 Another attempt at fixing Watcom compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 22:19:25 +00:00