Commit Graph

40921 Commits

Author SHA1 Message Date
Vadim Zeitlin
074ca2937d don't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 01:13:44 +00:00
Vadim Zeitlin
bf37d5c83e also scroll vertically if necessary in MoveToItem() when the control is in a non-report mode (based on patch 1857650)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 00:52:42 +00:00
Vadim Zeitlin
ec1cc2edad don't call LogLastRepeatIfNeeded() from dtor, it's too late to do it there anyhow; do call it from Flush() however (replaces patch 1857589)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 21:27:31 +00:00
Vadim Zeitlin
c476ef9b48 don't lock the gs_prevCS critical section recursively (replaces patch 1857581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 21:18:15 +00:00
Vadim Zeitlin
cb3c7437d2 allow creating empty ZIP archives (patch 1861030)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 20:31:31 +00:00
Vadim Zeitlin
f748392d04 added wxS(); use it in a couple of places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 16:31:38 +00:00
Vadim Zeitlin
43de9abf95 do VMS-specific X symbols redefinitions only once in wx/platform.h instead of doing it in individual files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-01 20:38:33 +00:00
Robin Dunn
c0e28504ec Ensure AutoComp items with no type will set the item's image index to -1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-31 20:12:59 +00:00
Vadim Zeitlin
ee635d523a fix bug with parsing negative time zones in ParseRfc822Date()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 23:35:40 +00:00
Julian Smart
d596490f4b Reduction of includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 16:11:12 +00:00
Julian Smart
cb6aa66cae Fixed pasting inefficiency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 14:22:24 +00:00
Robin Dunn
9de26f99db It is possible for a scrolled window to get focus events from children other than
the target window's children (the wxGrid label windows for example) so don't
trigger an assert about it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-28 17:57:55 +00:00
Mart Raudsepp
fb8c131d10 Workaround an assert that leads up to causing a crash on the next time anything tries to CaptureMouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-28 07:16:38 +00:00
Mart Raudsepp
f95d54fe64 Fix compilation of unicode debug builds, broken since rev50864
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-25 23:33:16 +00:00
Mart Raudsepp
ba333a53b0 Cherry-picked from trunk: Update some references of CVS to SVN, more remain that should be changed; update the daily makefiles link in winCE project file downloading instructions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-25 23:01:48 +00:00
Vadim Zeitlin
355d2bbff0 implement wxListCtrl::ScrollList() (in report view and vertical direction only) (slightly modified patch 1843647)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:58:38 +00:00
Vadim Zeitlin
56bbaa28a3 fixes to wxImage::ResambleBox() (patch 1843902)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:52:48 +00:00
Vadim Zeitlin
9b3fbee03e discard any pending messages for the socket being destroyed to avoid the problem with having them delivered to the next socket we create which reuses the same message number (patch 1856012)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 14:05:25 +00:00
Václav Slavík
7d840762c6 fixed XRC handler for sizers to do the expected thing when putting controls into wxScrolledWindow: let them determine virtual size, not real size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 22:50:35 +00:00
Václav Slavík
16fb9e58c1 fixed wxScrolledWindow best size calculation to not use current size in computation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 22:48:44 +00:00
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