Commit Graph

22044 Commits

Author SHA1 Message Date
Robin Dunn
fcc7e7595b Ensure child is frozen before trying to thaw it, to avoid assert.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-13 20:49:34 +00:00
Vadim Zeitlin
1c786fa848 don't leak wxImageList if wxHF_CONTENTS is not used in wxHtmlHelpWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 23:00:15 +00:00
Julian Smart
cb6a7b264e Set the object for the context menu event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 15:28:39 +00:00
Stefan Csomor
eb239e05b8 fix for document preview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 13:41:14 +00:00
Julian Smart
d9fa0b5388 Don't show messages for directories that can't be read
since some users will think it's scanning their system


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-07 08:59:15 +00:00
Robin Dunn
51481e7400 Add wxID_EDIT to the list of stock IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-06 18:09:37 +00:00
Julian Smart
7a6db76600 Big wxRichTextCtrl performance increase due to faster wrapping code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-06 12:25:59 +00:00
Julian Smart
bbde7abce9 Reverted mouse position change - wxMSW does send (-1, -1) for keyboard context menu access
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 21:51:33 +00:00
Václav Slavík
5012afdc2a added <scrollrate> parameter to wxScrolledWindow XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 19:06:09 +00:00
Julian Smart
89c830a332 Context menu event from keyboard records the mouse position, not -1, -1, in line with wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 13:38:02 +00:00
Stefan Csomor
94ca03630b fixing bug 1841377
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 09:14:44 +00:00
David Elliott
527b35a84d wxCocoa only: Give the buddy text control focus if the user changes the spinner.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 05:52:24 +00:00
David Elliott
75027d2856 Implement text update events so the spin control works better.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 05:08:21 +00:00
David Elliott
b6efa4b335 Fix for wxCocoaMessageDialog construction accidently using the totally wrong wxDialog constructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-29 07:35:45 +00:00
David Elliott
ef5fc865ba Implement wxBitmap::GetSubBitmap.
Patch authored by Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-29 07:28:17 +00:00
David Elliott
7acb34f44c Implement wxIcon::LoadFile by defering to wxBitmap implementation instead of creating a dummy 5x5 image.
Patch authored by Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-29 07:24:19 +00:00
Stefan Csomor
bbe295ba4d fixing potential alignment error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 09:52:19 +00:00
Vadim Zeitlin
944b70c815 set disposition to OPEN_ALWAYS for write and read-write modes (replaces patch 1836605)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 02:46:34 +00:00
Vadim Zeitlin
e3e6427c91 return immediately after processing TaskbarCreated message instead of asserting (the accepted part of patch 1835507)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 01:59:59 +00:00
Vadim Zeitlin
f9a9805da9 don't use Gnome printing in wxUniv [backport of r50037 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 00:24:25 +00:00
Robin Dunn
b80bba0f09 Use kControlContentIconRef for toolbar bitmap buttons. Fixes bug #1826474
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-27 20:48:15 +00:00
Václav Slavík
d2e72b6805 ensure that wxGrid::AutoSizeColumn/Row() never sets column/row size smaller than the minimal size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 17:55:14 +00:00
Vadim Zeitlin
e3e86b6997 compilation fix for wxUSE_STL==1 in DoGetSibling()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 21:34:10 +00:00
Václav Slavík
c25ddfa8a3 backported wxGrid labels autosizing patch (r44835) to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 21:21:25 +00:00
Paul Cornett
4bab970b1a non-pch build fix for wxUSE_DISPLAY==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 02:52:10 +00:00
Stefan Csomor
54be106d59 optimizing scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-21 13:05:15 +00:00
Stefan Csomor
51156271b7 focus fixes for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-21 10:51:20 +00:00
Václav Slavík
5cb8b7450a backport of r48962: fixed cellpadding when printing (bug #1795572)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 22:48:25 +00:00
Stefan Csomor
aee427f150 attempt to fix part of the focus problem under 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 22:36:29 +00:00
Vadim Zeitlin
cf22e46119 added wxWindow::GetPrev/NextSibling() [backport of r50108 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 16:12:12 +00:00
Vadim Zeitlin
20d78b39b2 don't capture the mouse when just moving it in the grid (replaces patch 1779923) [backport of r50010 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 13:14:54 +00:00
Julian Smart
1a0eb174c3 Removed redundant mnemonic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 09:12:08 +00:00
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