Commit Graph

22012 Commits

Author SHA1 Message Date
Vadim Zeitlin
8fd00bbf88 handle NULL BSTRs as empty ones per Microsoft convention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 15:16:33 +00:00
Vadim Zeitlin
24e0d81d80 compare colours using their operator==() instead of comparing individual RGB components as this is shorter and more correct for the colours with the same RGB but different alpha components (patch 1832844)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 14:24:18 +00:00
Vadim Zeitlin
8b7f7d67f4 reset global wxTheApp pointer before deleting it to avoid use of half-destroyed object (bug 1831130)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 23:41:38 +00:00
Chris Elliott
a74bea2f30 Borland still hates ? (head was 49127)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 15:52:17 +00:00
Julian Smart
bd78c20dd6 Don't suppress accelerators that include Enter just because a tree control is focused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 13:12:07 +00:00
Chris Elliott
f8be834d3d fix missing cast, sf bug 1832866
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 09:03:27 +00:00
Paul Cornett
9c7c7b18de fix reference to temporary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 16:44:08 +00:00
Mart Raudsepp
4bd115e503 Fix non-pch build. Spotted by David Hart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 16:27:43 +00:00
Julian Smart
e82402f986 Border correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 10:22:36 +00:00
Julian Smart
5c9940227f Corrected symbol for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 08:03:59 +00:00
Julian Smart
8875116b93 Style correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 14:53:36 +00:00
Julian Smart
209e9baf33 Border style corrections, and more economical window sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 14:22:56 +00:00
Benjamin Williams
28b0f20e4c added null pointer check and assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 20:17:58 +00:00
Paul Cornett
3c3dab18a1 fix for missing gtk_icon_size_lookup, broken in rev 46605
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 20:04:09 +00:00
Vadim Zeitlin
9becb2e665 unselect all selected items, not just the currently focused one, when the mouse is right clicked outside of selection to minimize user confusion (patch 1702201, bug 1676471) [backport of r49916 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 17:23:32 +00:00
Paul Cornett
dc8f4ea54d build fix for wxUSE_DISPLAY==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 23:46:23 +00:00
Vadim Zeitlin
693c373183 implement wxClientDisplayRect() using _NET_WORKAREA WM hint [backport of r49697 and r49700 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-11 23:52:54 +00:00
Vadim Zeitlin
40e0c0c3b5 use WXDLLIMPEXP_FWD instead of WXDLLIMPEXP to avoid gcc4 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-10 01:09:42 +00:00
Vadim Zeitlin
3f9ba9a06a show default title if no custom one was specified instead of clearing it (patch 1829254)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-10 01:01:46 +00:00
Vadim Zeitlin
bee86e0097 cleanup wxURLModule after wxSocketModule to avoid crash when destroying default proxy (patch 1828964)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 23:17:49 +00:00
David Elliott
177af5232f Need to initialize m_message and m_caption on 2.8 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 19:10:04 +00:00
David Elliott
b060a142a6 Add RCS-ID and normalize whitespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 18:56:31 +00:00
David Elliott
0cfe8dc0fa Reconcile 2.8/trunk wxMessageDialog differences.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 18:48:59 +00:00
David Elliott
a2fa59b890 Merge new wxCocoaMessageDialog from trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 18:32:38 +00:00
Julian Smart
8ea477f697 Fixed toolbar hiding when going full-screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 15:07:40 +00:00
Julian Smart
9ff4f05ff9 Colour change event now sent on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 15:06:52 +00:00
Julian Smart
91ee4921fc Fix from wxAUI forum (http://www.kirix.com/forums/viewtopic.php?f=16&t=564) for display problem on Vista
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 12:06:11 +00:00
Julian Smart
3b19dd2ff1 Fix for layout in wxGTK when showing or hiding a toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 11:08:13 +00:00
Julian Smart
cef14be8f0 Menubar accelerators are now preserved in full screen mode, as per wxMSW and wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-08 14:55:48 +00:00
Julian Smart
8763183678 Warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 18:16:37 +00:00
Julian Smart
aafc8ff13c Vertically centres a left-aligned wxChoiceBook controller
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 12:48:47 +00:00
Robert Roebling
8fe46e13ea Remove check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 11:09:21 +00:00
Robert Roebling
365a5b20e9 Correct area from where to start dragging the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 10:23:21 +00:00
Robert Roebling
d1bd2fd468 Use custom GTK+ code for hint window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 10:18:02 +00:00
Julian Smart
51e2413b5a Removed no longer needed desktop size hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 23:06:07 +00:00
Robert Roebling
e4735aa9c6 Minor optical corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 18:41:36 +00:00
Benjamin Williams
5507f0848f don't renumber dock rows to remove gaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 17:02:16 +00:00
Benjamin Williams
fbe979db94 aui dock renumbering fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 14:02:44 +00:00
Julian Smart
3ac8e9c3b0 Moved desktop margin options to more sensible place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 10:47:58 +00:00
Julian Smart
63048b6ccb Added sizer.desktopmargin.x/y system options to allow for desktop decorations in wxSizer::Fit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 09:41:17 +00:00
Stefan Csomor
17532da814 setting selection to 0,0 in create, bug 1826548
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 08:06:46 +00:00
Julian Smart
15b33070e4 Backported wxGTK wxSYS_COLOUR_WINDOW fix to 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:48:57 +00:00
Stefan Csomor
4a2f97be30 forgot one 10_5 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 17:35:55 +00:00
Stefan Csomor
28a22e2687 fixing #if s for Leopard SDK and running on older systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 17:15:22 +00:00
Stefan Csomor
6001148d74 popupwin on mac behaves as the implementation for msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 16:55:13 +00:00
Stefan Csomor
219708e588 frame tools without decorations are done using plainwindowclass, but this also must have a scope activation of none, otherwise the frame gets incorrectly deactivated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 21:49:53 +00:00
Stefan Csomor
ddfbff357f avoiding refcount checks under Leopard, the behaviour differs there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 21:24:23 +00:00
Benjamin Williams
5cdb970271 bug fix for vista in multi-selection tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 19:36:14 +00:00
Vadim Zeitlin
7921598f7f no real changes, just left over code cleanup from attempts to fix the bug of the patch 1774701
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 17:03:13 +00:00
Stefan Csomor
aba999a319 if we don't have a valid background color, paint a white grow box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 14:21:15 +00:00