Commit Graph

37909 Commits

Author SHA1 Message Date
Vadim Zeitlin
719bc6faad document the problem with using arrays whose element size is larger than the actual size of the elements stored in them (bug 1572314)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:42:03 +00:00
Vadim Zeitlin
7c3f33a943 grid lines were incorrectly drawn over multicell cells in the last column (bug 1290841)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:33:48 +00:00
Vadim Zeitlin
e8a147a6c3 invalidate best size of the book controller too when the pages are added/removed, this fixes a lot of sizing problems with treebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:20:09 +00:00
Vadim Zeitlin
72db44b528 removed out of date FIXME (part of patch 1590194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:18:53 +00:00
Vadim Zeitlin
e38f59e899 document WX_PREPEND_ARRAY (part of patch 1590194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:18:15 +00:00
Vadim Zeitlin
17cb6ff641 use Alloc() in WX_PRE/APPEND_ARRAY (part of patch 1590194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 12:15:19 +00:00
Vadim Zeitlin
081fcce3ba reverted the last fix, it was just wrong, sorry, the problem is elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:59:42 +00:00
Vadim Zeitlin
fbf8436cb2 fix tree control best size calculation: account for the images and the buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:42:41 +00:00
Vadim Zeitlin
e525c4ff96 test GetBoundingRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:26:51 +00:00
Vadim Zeitlin
0a704d3973 call base class ctor in copy ctors explicitly (fixes gcc warnings with -Wextra)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:16:03 +00:00
Vadim Zeitlin
6e35d7ca0e handle all wxROLE_XXX values in wxConvertToWindowsRole()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:14:57 +00:00
Vadim Zeitlin
040b6ee5ac add generic animation sources to wxUniv (and correspondingly removed them from wxX11)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:13:39 +00:00
Vadim Zeitlin
b6349b169b really define TRACE_CLIPBOARD (fix for the last commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 11:03:46 +00:00
Vadim Zeitlin
1dcfc3331f attempt to fix linking error in one of the tinderbox builds by moving local class declaration out of the function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 10:57:24 +00:00
Vadim Zeitlin
dddfcb3118 include iostream header when using std streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 10:42:53 +00:00
Stefan Csomor
72366f68d1 removing additional offset - why did this ever work ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 10:38:15 +00:00
Stefan Csomor
091ef146b7 stub implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 09:57:35 +00:00
Stefan Csomor
ad66794547 adding measuring contexts, streamlining printing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 07:50:06 +00:00
Stefan Csomor
fd7915711f allowing transformation changes even if there is no graphics context around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 06:39:50 +00:00
Stefan Csomor
6e25bf0ffb fixing warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 06:33:45 +00:00
Vadim Zeitlin
968956aa6e don't compile in wxCheckWin32Permission() when it's not used (as in cygwin builds where both __UNIX__ and __WINDOWS__ are defined)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 03:14:48 +00:00
Vadim Zeitlin
8bf7f1a9fe regenerated after last fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 03:12:17 +00:00
Vadim Zeitlin
4922025ae8 fix to last change: compilation test must be done after test for C compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 03:10:20 +00:00
Vadim Zeitlin
6da4ac91a9 regenerated after two last configure.in changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 02:58:56 +00:00
Vadim Zeitlin
032bc940fc add -mno-cygwin detection: we should treat cygwin as Windows, not Unix, when it's used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 02:54:19 +00:00
Vadim Zeitlin
76cf603e91 include iostream header when using std streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 00:02:02 +00:00
Vadim Zeitlin
0817a2c54c corrected documentation of font parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 23:36:07 +00:00
Vadim Zeitlin
d395dbab76 compilation fix for last fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 23:34:24 +00:00
Vadim Zeitlin
580ca0a4e1 wxAnimationCtrl fix to display inactive bitmap at start (patch 1590192)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 22:16:51 +00:00
Vadim Zeitlin
28639df9c7 added collpane sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 22:02:34 +00:00
Vadim Zeitlin
305329c2f1 use wxNullFont instead of *wxNORMAL_FONT as default parameter for wxFontPickerCtrl/Widget, this fixes compilation with gcc 2.95 and possibly other old compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:54:13 +00:00
Vadim Zeitlin
322f55e8d0 fix typo in WX_ARG_ENABLE for richtext (patch 1589243)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:48:44 +00:00
Vadim Zeitlin
5ffa72f49f use wxEMPTY_PARAMETER_VALUE to ensure that nested macro calls get correct number of parameters even when expdecl passed to the outer macro is empty (as happens in static builds)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:37:08 +00:00
Michael Wetherell
b158be6e47 Use hash<long> instead of hash<wxLongLong_t> when they are the same size
since even some 64-bit compilers have a problem with it, it seems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:32:39 +00:00
Vadim Zeitlin
01df01eb19 added IMPLEMENT_VARIANT_OBJECT_SHALLOWCMP(classname) macro for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:25:59 +00:00
Vadim Zeitlin
3e09f6f1e8 clarify/correct note about VC6 build order problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:21:46 +00:00
Vadim Zeitlin
bde626ce30 don't define EMPTY_PARAMETER_VALUE macro without wx prefix, this is an invitation for name clash; instead define wxEMPTY_PARAMETER_VALUE and use it in both variant.h and event.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:06:57 +00:00
Vadim Zeitlin
ee0dd1b5e9 restored mention of the other .rsp files removed in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:00:58 +00:00
Vadim Zeitlin
5c97688cf0 update the distribution instructions after switch to new distribution scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 20:50:12 +00:00
Vadim Zeitlin
542a26bace fix compilation after last change for compilers without variadic macros support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 19:53:02 +00:00
Vadim Zeitlin
51b7f9464d compilation fix: must include wx/dcmemory.h instead of wx/mgl/dcmemory.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 19:45:17 +00:00
Vadim Zeitlin
99d625fc6a don't use native GTK implementation in wxUniv builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 19:26:15 +00:00
Vadim Zeitlin
067c050c8e blind compilation fix: include wx/window.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 19:22:38 +00:00
Vadim Zeitlin
e001091c6f compilation fix for wxPenRefData operator==()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 19:15:33 +00:00
Robin Dunn
a352e39f43 Removed duplicate (and wrong) helpref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 17:55:10 +00:00
Vadim Zeitlin
580a3876f6 use IsSameAs() instead of wxPalette::operator==() which doesn't exist any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 17:42:02 +00:00
Vadim Zeitlin
cf6824d93d use wxMemoryDC::SelectObjectAsSource() for const wxBitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 17:37:36 +00:00
Vadim Zeitlin
35da9cd333 fix XPM name to correct compilation under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 12:19:02 +00:00
Julian Smart
fcdc9f6e1f Mac wxODBC fix from Jose' Cruanyes Aguilar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 10:55:20 +00:00
Roman Rolinsky
88e183d769 updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 10:52:02 +00:00