Commit Graph

40251 Commits

Author SHA1 Message Date
Václav Slavík
108c23222a wxScrolledWindow can get wxEVT_CHILD_FOCUS event for itself, handle that case too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 20:05:46 +00:00
Václav Slavík
237d84033e backported: when a window inside scrolled window receives focus, make sure the parent is scrolled so that the window with focus is visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 18:36:19 +00:00
Václav Slavík
d198606868 skip wxChildFocusEvent in WX_DELEGATE_TO_CONTROL_CONTAINER, so that other code can see the notification too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 18:32:55 +00:00
Julian Smart
89639ecdba Corrected wxRTTI for wxNotebook so dynamic casting to wxBookCtrlBase works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 10:51:33 +00:00
Vadim Zeitlin
09d2ce335c set up the correct layout direction for memory dc in Render() (patch 1789359)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 01:19:15 +00:00
Robin Dunn
b445553485 Use 1040 for the PPC VERSION_MAX_ALLOWED, and do a proper weak linker
reference check for CGContextSetBlendMode.  This allows the wxPython PPC half of the 
Universal binary to be fully functional on Tiger+.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 19:35:57 +00:00
Stefan Csomor
4c2356097d fixing the HITextView single line scrolling under 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 16:53:10 +00:00
Paul Cornett
7328ad4ec7 fix tests for brush hatch styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 07:32:05 +00:00
Vadim Zeitlin
495d64ce39 don't misinterpret the time after the date as a weekday (patch 1836708)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 21:03:21 +00:00
Vadim Zeitlin
35227fd226 don't use 8 bit characters in sources to avoid warnings in non-latin1 locales (patch 1841741)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 02:57:58 +00:00
Vadim Zeitlin
bffe71ce01 Spanish translation updates from MiguelSky
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 02:37:52 +00:00
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
Mart Raudsepp
6d7fdd21e4 Include defs.h before checking if wxUSE_GRAPHICS_CONTEXT is requested in build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-12 20:19:36 +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
Bryan Petty
e1469c7c4e Backported r50561: Fixed std::cout redirection code example.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 10:01:41 +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
Robin Dunn
151f9e50dc bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-06 18:08:58 +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
6d8d750e37 Clarified context menu event behaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-05 08:44:41 +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
Bryan Petty
94c500fb7b Backported LaTeX CSS modifications (r50468) to 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 17:41:36 +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
Julian Smart
5a106018fa Fixed player dialog listbox and app icon on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 09:45:13 +00:00
Julian Smart
938dbb9c29 Added Forty Thieves icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 09:23:13 +00:00
Robin Dunn
cab87307a9 Use ?= assignment operator for WX_UNICODE so it can be overridden from the environment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 19:45:52 +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
Paul Cornett
685238a900 Solaris /usr/bin/tr requires [] around character ranges
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 06:46:25 +00:00
Vadim Zeitlin
6676642577 fix typo in an example (patch 1837973)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 02:56: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
854f41ceaf removed ADVANCED_CMN_NATIVE_HDR, files in it (wx/datectrl.h ad dataview.h) are used in all ports, not just native ones [backport of r50290 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 00:29:03 +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
Robin Dunn
4bd72ec7dc Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-26 19:44:17 +00:00
Vadim Zeitlin
8c56d4a586 use WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-26 13:48:36 +00:00
Vadim Zeitlin
802bde46ad fix unused parameter warning inside FILEDIRBTN_OVERRIDES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-25 13:12:53 +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
1129ffa76d fix \texttt after the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 01:23:05 +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
Vadim Zeitlin
b191e948b5 correction to the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 21:29:29 +00:00