Benjamin Williams
e6c46ffefb
GradientFillLinear() on wxMSW now draws on the rectangle border as well, making it consistent with the gernaic version as well as wxDC::DrawRectangle()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 13:31:15 +00:00
Vadim Zeitlin
280399077a
don't use wxFromSystemTime() with possibly invalid date (closes bug 1596606)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 13:06:03 +00:00
Vadim Zeitlin
0deb5fab34
unmultiply by alpha when converting from wxDIB to wxImage as the former uses premultiplied alpha but the latter does not (patch 1597063)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 12:35:16 +00:00
Vadim Zeitlin
28f9f58ca0
fixed warning about junk after #endif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 12:29:21 +00:00
Vadim Zeitlin
d5eaa19fdf
don't set A4 paper size, use the system default instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 01:54:48 +00:00
Vadim Zeitlin
82c591d771
fix compilation when one of wxUSE_LISTCTRL and wxUSE_TREECTRL is defined but the other is not (modified patch 1596323)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 14:20:11 +00:00
Vadim Zeitlin
cb3a0d420a
GdiplusStartup() takes ULONG_PTR, not DWORD (patch 1596318); also deTABified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 14:05:14 +00:00
Vadim Zeitlin
373d466f85
changed last DrawButton() parameter from bool to int to allow for future extensions (patch 1595264)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 23:34:11 +00:00
Julian Smart
823b140b65
Fixed compile error on Wine due to type mismatch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 17:58:27 +00:00
Julian Smart
0034bd135c
Added missing arg
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:35:51 +00:00
Julian Smart
56fb1bca35
Use LONG instead of long (some Wine headers complain)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:30:38 +00:00
Julian Smart
82c51a8ec9
Wine fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:07:59 +00:00
Julian Smart
219b657fbe
Wine fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 15:54:06 +00:00
Julian Smart
dc484d491b
Wine fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 15:39:12 +00:00
Robert Roebling
a82c22998b
Applied wxStackWalker improvement part of
...
item #1591718 , [wxGTK] Native assert dialog and optimized stack walker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 14:33:03 +00:00
Robert Roebling
ac7ad70d4c
[ 1590221 ] wxStandardPaths::GetExecutablePath
...
Required for optimised stackwalker patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 12:58:10 +00:00
Robin Dunn
11d6793f15
Remove superfluous assert that conflicts with style settings needed on
...
wxGTK to get the same effect.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 20:02:07 +00:00
Robin Dunn
4d5364211d
Alwayas use SetValue in Create so m_date will be in sync
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 18:00:48 +00:00
Stefan Csomor
773ccc318e
adapting to new inheritance of wxMemoryDC (under MSW only at the moment)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 09:47:20 +00:00
Stefan Csomor
93f72baea4
wxGraphicsContext always is using clipping regions in user coordinates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 09:09:32 +00:00
Robin Dunn
c5ec19f4f5
Re-add the wxQTMediaBackend class, by copying the code for it from the
...
old mediactrl.cpp to mediactrl_qt.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 01:12:11 +00:00
Vadim Zeitlin
e09080ec62
use built in VC8 time functions instead of our (almost certainly broken) ones for wxWinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 23:27:15 +00:00
Vadim Zeitlin
d632789924
fix the broken code in strftime()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 22:09:47 +00:00
Vadim Zeitlin
8898842fdc
fix warning about unused variable in wxWinCE build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 21:12:31 +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
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
Julian Smart
4de1b652ea
Allow for WinCE drive-less single backslash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 15:29:58 +00:00
Robin Dunn
82ec1f7035
Fix for always failing assert in GetValue. Save the same value that
...
will be tested for there (the date without any time set.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 07:09:21 +00:00
Vadim Zeitlin
0bb222915e
always define our HKPD/CC/DD constants, without using WINVER which is irrelevant anyhow (only run-time version matters, not compile-time)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 17:29:55 +00:00
Vadim Zeitlin
d96b9cafb8
don't compute (and mainly don't cache) our best size until we have created the radio buttons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:37:52 +00:00
Julian Smart
50c8b82054
Invalidate cache because best size was calculated earlier
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:35:57 +00:00
Julian Smart
048128e086
implement wcsftime for versions of VS earlier than 2005
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 15:22:17 +00:00
Julian Smart
79f82e1f66
wxWinCE compile fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 15:07:00 +00:00
Vadim Zeitlin
5d7eebb6b2
use SelectObjectAsSource when we don't need to modify the bitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 14:44:37 +00:00
Vadim Zeitlin
1b7c01c976
fix wxBitmap mask copying
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 14:43:04 +00:00
Vadim Zeitlin
8efbb8ad30
fixes for status bar positioning with non-top aligned toolbars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:42:01 +00:00
Vadim Zeitlin
3882e74621
many fixes to toolbar positioning code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:11:46 +00:00
Vadim Zeitlin
d408730ce4
ensure that wxToolBar has one of wxTB_TOP/LEFT/RIGHT/BOTTOM styles set, otherwise the latest toolbar positioning code breaks down
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:09:08 +00:00
Vadim Zeitlin
04988ec423
fix crash in wxRadioBox creation due to its DoGetBestSize() now being called from the base class Create(), before m_radioButtons are created
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:17:55 +00:00
Robin Dunn
170acdc90e
GetBestFittingSize --> GetEffectiveMinSize
...
SetBestFittingSize --> SetInitialSize
SetBestSize --> SetInitialSize
SetInitialBestSize --> SetInitialSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:50:17 +00:00
Vadim Zeitlin
52778e0049
include wrapwin.h to get HMONITOR and friends declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:45:16 +00:00
Vadim Zeitlin
fae47b81e8
gcc signed/unsigned comparison fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:16:37 +00:00
Vadim Zeitlin
a3ab1c1801
renamed IsRefTo() to IsSameAs() (do complain if this is not more clear) and
...
changed its signature to take a const reference instead of a pointer which
simplifies the code and makes it safer as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:03:53 +00:00
Vadim Zeitlin
fea35690f1
Added wxMemoryDC::SelectObjectAsSource() and make SelectObject() unshare
...
the bitmap to ensure that no other bitmaps are modified; also remove some code
duplication by introducing wxMemoryDCBase (patch 1580745)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:41:46 +00:00
Vadim Zeitlin
55ccdb93e4
COW cleanup patch (1583966):
...
1. perform deep comparison for the classes for which it makes sense in the
ports where this wasn't done yet
2. remove (shallow) comparison operators for the classes for which it does
not make sense (such as wxBitmap)
3. makes wxBitmap use COW on all ports
4. adds wxObject::IsRefTo()
5. centralizes and improves COW docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:26:48 +00:00
Vadim Zeitlin
dddf9e14ed
compilation fix for wxUSE_UNICODE_MSLU && !WXWIN_COMPATIBILITY_2_6 (bug 1587408)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:11:31 +00:00
Vadim Zeitlin
4614c8e528
include wx/msw/private.h before wx/msw/uxtheme.h for consistency with other headers (it's not needed, strictly speaking, as uxtheme.h now includes it itself anyhow, but it's more clear like this)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 15:41:58 +00:00
Robert Roebling
daac16bba0
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:57:18 +00:00
Julian Smart
53a64063c8
Improve the registry query for whether to show combobox animation or not
...
WinCE compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 07:16:22 +00:00