Commit Graph

20550 Commits

Author SHA1 Message Date
Robert Roebling
49fa1dbb96 Also apply second part of patch for preventing
aui crashes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 12:17:01 +00:00
Robert Roebling
20d6447552 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 11:53:54 +00:00
Stefan Csomor
2185a8a32f typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 10:32:00 +00:00
Julian Smart
7e134dc10c Reverted patch 1476893 pending further investigation (broke Advise in IPC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 10:21:24 +00:00
Julian Smart
27b5dab348 Fixed compile error with --enable-stl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 09:45:06 +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
Stefan Csomor
1c5decd0b8 casing the coordinates recalc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 06:07:11 +00:00
Kevin Ollivier
3ce16a8e02 Fixing icon drawing and implementing HitTest and GetItemRect for native OS X list ctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 04:00:19 +00:00
Robin Dunn
f3d0a750d4 The rect passed to DrawTreeItemButton is already adjusted, we
shouldn't do it again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 03:59:03 +00:00
Robin Dunn
2bf8f4c0d5 Implement deep copy of wxBitmapRefData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 03:23:35 +00:00
Robin Dunn
e5b14b7498 Remove comment from patch that doesn't apply anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 02:10:47 +00:00
Robin Dunn
3754c85628 Switch wxBufferedDC to use a wxBitmap* internally, so it doesn't
increment the refcount of the bitmap refdata, and so it doesn't do a
copy on write.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 02:07:36 +00:00
Vadim Zeitlin
2ee16da2c3 initialize m_surface when copying invalid bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:55:44 +00:00
Vadim Zeitlin
39b0ab4a4c implement proper bitmap copying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:36:32 +00:00
Stefan Neis
cd7ff8087b Dummy implementation for copying bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:01:32 +00:00
Michael Wetherell
7bb82a7415 Fix setting the large file flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 00:49:50 +00:00
Stefan Neis
a19063065b Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:50:32 +00:00
Kevin Ollivier
9034707197 Explicitly forward non-command events along to the native control first.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:38:15 +00:00
Stefan Neis
7cbe148e2f Maximize chances to find an existing definition for O_BINARY and MAX_PATHLEN.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:29:02 +00:00
Robert Roebling
b21f4960b1 Return SetSizeHints() in wxWindow to its former
life but still recommend to use SetMinSize()
    and SetMaxSize(). I've already purged wxWidgets
    of any use of this function internally, but
    others may use it still.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:14:28 +00:00
Robert Roebling
93da796db4 Fix crash when intersecting with NULL region.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:03:32 +00:00
Robert Roebling
ac7d3dd157 Commited region iterator fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 22:48:38 +00:00
Stefan Neis
823189ee50 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 20:46:35 +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
Vadim Zeitlin
3c738608b4 correct compilation after last change (added ifdef in the wrong function...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:19:24 +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
Václav Slavík
6e3d582809 compilation fix for !wxUSE_PALETTE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 14:31:06 +00:00
Benjamin Williams
c69532f71c aui notebook - foreign tab drops are positioned correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:55:54 +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
9583e4f4a0 recognize wxTB_TOP/LEFT/RIGHT/BOTTOM styles too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:13:07 +00:00
Benjamin Williams
22fec94aa9 aui docking works well on systems with solid window dragging turned off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:12:36 +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
35386afc20 checking that a wxWindow is of run-time type wxWindow is hopefully useless
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:10:21 +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
Julian Smart
1c10464893 Remove unnecessary restriction for sizer parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:01:07 +00:00
Vadim Zeitlin
87bfb3969f don't define specifyLevel variable in release builds (fixes gcc and probably others warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:51:57 +00:00
Vadim Zeitlin
1cda5c7e62 removed unused Tell() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:51:02 +00:00
Vadim Zeitlin
0b5750291a don't define TRACE_CLIPBOARD in release builds (fixes gcc warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:50:18 +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
Vadim Zeitlin
7aa920b5a5 blind compilation fixes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:02:36 +00:00
Vadim Zeitlin
4a89f0e907 SetBestSize() is now deprecated, don't use it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 11:20:16 +00:00
Benjamin Williams
08c068a4eb aui notebook real-time dragging implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:59:36 +00:00
Václav Slavík
325219cb26 fixed: clicking on links in the help view did nothing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:48:16 +00:00
Stefan Csomor
a7868cdf6a fixing reset clip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:40:51 +00:00
Stefan Csomor
2986407b54 correct meaning of logical origin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:30:42 +00:00