Commit Graph

20527 Commits

Author SHA1 Message Date
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
Benjamin Williams
2fadbbfd12 aui notebook pages can be moved around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:16:39 +00:00
Stefan Csomor
1f2b627ae9 added missing init
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:08:22 +00:00
Michael Wetherell
fa24cfa09d Fix for handling of invalid gifs, patch 1587754 Noel Byron.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 09:35:57 +00:00
Benjamin Williams
4f6459a3dd fixed missed button enum conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 09:34:59 +00:00
Václav Slavík
2f099ed723 fixed scrolling using mouse broken by my previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 09:26:55 +00:00
Stefan Csomor
23a3e8fbda make things compile under 10.3 again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:56:07 +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
Julian Smart
97f8976204 Don't process char event if wxTranslateKeyEvent returned false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:45:33 +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
Stefan Csomor
69541a2ef1 lost save state call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:43:17 +00:00
Stefan Csomor
35ee712487 make sure we always restore the passed in cg in a paint event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:39:08 +00:00
Benjamin Williams
26da5e4f5a aui: allow m_frame to be null in wxFrameManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:02:56 +00:00
Benjamin Williams
533bedbf30 fix aui crash related to SF bug 1531361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 07:41:32 +00:00
Vadim Zeitlin
dd21c82639 make wxBitmap *really* ref counted in X11; some cleanup of bitmap code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 01:24:10 +00:00
Vadim Zeitlin
5c9d9745fe partly successful (i.e. previously it didn't work at all and spewed Pango warnings and now it just doesn't work) attempts to fix drawing text on wxMemoryDC in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:59:06 +00:00
Vadim Zeitlin
64dd1c4697 compilation fix after wxMemoryDCBase changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:14:50 +00:00
Vadim Zeitlin
76690d5e7d compilation fix after wxBitmap::operator==() removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:13:40 +00:00
Vadim Zeitlin
783d8bdf57 don't assign NULLs to bools and floats, this is confusing (and also the usual: deTABified; corrected double to int cast)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:22:42 +00:00
Vadim Zeitlin
8a438f46b5 more fixes to double to int conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:19:10 +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
6c0aace267 hack to fix warnings about wxMAC_USE_CORE_GRAPHICS_BLEND_MODES not being defined -- but should it be used in this common file at all?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:16:17 +00:00
Vadim Zeitlin
f0985cf4ea removed unneeded ifdef from last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:03:08 +00:00
Julian Smart
76fa9e023c Compile fix for Universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:58:28 +00:00