Commit Graph

22387 Commits

Author SHA1 Message Date
Julian Smart
082d227991 Blind fix for !CG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 10:18:20 +00:00
Robin Dunn
1736ea5474 Add a SetDoubleBuffered method for wxMSW (XP+)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:27:16 +00:00
Robin Dunn
a31d0ae84c Fallback to old API if there was an error getting the printer resolution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:22:15 +00:00
Paul Cornett
00337417d6 fix removing control tool (partial backport of r52840 and r53913), ticket #4102
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:18:12 +00:00
Vadim Zeitlin
4bdfaa384b fix wxDateTime::ParseRfc822Date() to handle missing seconds (ticket #1341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 14:37:26 +00:00
Stefan Csomor
bb6fc02ac1 supporting Freeze and Thaw in native control, has huge implications on performance of lists with many thousands of elements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 17:30:06 +00:00
Julian Smart
444c36355c Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 17:51:02 +00:00
Julian Smart
6f36b37f03 Don't update UI if hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 17:44:06 +00:00
Stefan Csomor
667902fa25 remove duplicate line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 17:14:58 +00:00
Stefan Csomor
66b926e0cf fixing a problem where CoreGraphics didn't correctly clip to an empty region
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 16:47:45 +00:00
Stefan Csomor
a69994a545 make sure invisible windows cannot paint using a wxClientDC or wxWindowDC by making their clip rect empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 16:42:09 +00:00
Robert Roebling
dee6abf6d4 Don't fail compilation with GTK+ 2.2 in 2.8 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 23:47:20 +00:00
Kevin Ollivier
638d138729 Implementing wxScreenDC::GetAsBitmap on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 17:04:18 +00:00
Vadim Zeitlin
09cd20825b don't give an error if VT_DATE variant is being released, there is nothing to do for it anyhow (closes #4527)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 13:35:52 +00:00
Stefan Csomor
cdc601664a guarding against crashes because of out-of-bounds accesses in release mode (returning 0), better error reporting in debug builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 09:54:55 +00:00
Stefan Csomor
28387bbc2d guarding against crashes because of out-of-bounds accesses in release mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 09:53:59 +00:00
Paul Cornett
edd6e2ed47 fix leak introduced by r53753
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 06:15:35 +00:00
Robin Dunn
89dec509c4 Add wxWebKitNewWindowEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 06:12:34 +00:00
Vadim Zeitlin
805585b530 recognize Vista by name in wxGetOsDescription()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 15:48:23 +00:00
Stefan Csomor
37f784703e guard against layout changes during DoSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 14:15:14 +00:00
Stefan Csomor
b91dd98ff1 make sure we add the correct wx-border pixels to native controls when calculating best size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 14:14:11 +00:00
Stefan Csomor
10a99f20aa fixing arc filling for angles > 180
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 04:57:52 +00:00
Paul Cornett
1160c0fd3a fix removing menu item, ticket 3387
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-26 17:28:41 +00:00
Kevin Ollivier
959ddf25d3 Fix for wxClientDC::GetAsBitmap, which partially resolves ticket #9486
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 17:56:21 +00:00
Vadim Zeitlin
20a014cb69 call base class version from SetWindowStyleFlag() to update common styles such as border ones too (closes #9480)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 18:56:24 +00:00
Stefan Neis
8de7c76277 Compilation fix for old OS/2 compiler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 17:22:00 +00:00
Paul Cornett
9a054f1079 add missing static keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 16:46:08 +00:00
Paul Cornett
fbeb764bf5 button text uses fg color, not text color
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 16:18:49 +00:00
Paul Cornett
11a7b96b4f get wxSYS_COLOUR_HIGHLIGHTTEXT from GTK+, ticket 4733
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 15:10:11 +00:00
Julian Smart
40b9e72e72 COnversion of some common font names to current platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 13:23:07 +00:00
Stefan Csomor
eee388cfcf allows resetting color of text to black, closes #4826
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 13:04:32 +00:00
Robert Roebling
7a1638b8ba Added control renderers to GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 09:04:40 +00:00
Paul Cornett
29c9975106 add missing braces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 05:19:07 +00:00
Paul Cornett
f5d30ff905 add missing break statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 03:36:33 +00:00
Julian Smart
dc99dea363 Fixed a bug preventing style resetting from occurring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-18 17:04:26 +00:00
Vadim Zeitlin
c4886ae6c4 added language info for Northern Sami (patch 1964036)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 22:49:30 +00:00
Julian Smart
60efb3422f Fixed common style collection and superscript/subscript selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 17:54:51 +00:00
Vadim Zeitlin
b0e8363354 fix window rectangle computation in Centre(wxCENTER_ON_SCREEN)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 12:56:18 +00:00
Stefan Neis
bfeb1a5c06 Added missing #include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 09:28:05 +00:00
Stefan Neis
3cf88bbd74 Ensure that wxApp::Yield is always processing pending event by creating a
temporary event loop if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-16 15:21:40 +00:00
Robin Dunn
390d9ef3a8 fixed last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-13 00:20:35 +00:00
Robin Dunn
b61daf80db Need to allow wxMemoryDC's at any time. (It derives from wxPaint event so the 2nd half of the test catches that.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 23:55:45 +00:00
Robin Dunn
63830277f5 Resolve overload ambiguities
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 23:54:34 +00:00
Paul Cornett
ce13ca1a6d disconnect handler in wxTaskBarIcon dtor, should have been part of previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 23:04:14 +00:00
Paul Cornett
fada2f46e0 prevent crash if panel/kicker is killed, bug 1872724
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 22:45:36 +00:00
Paul Cornett
da6deee1f7 don't change brush settings in SetBackgroundMode(), it is only supposed to affect text background, bug 1480986
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 20:17:30 +00:00
Vadim Zeitlin
61afd24c7a revert r52151, apparently it doesn't work in 2.8 (see patch 1939287)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 19:50:42 +00:00
Julian Smart
7cd3ca16e8 Fix conversion from variant array
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 09:46:10 +00:00
Robin Dunn
95704802eb Add some additional renderer functions for Mac and MSW (so far) but do it as standalone functions in order to not disrupt the ABI. These are primarily needed for wxWebKit which is why they are going in to 2.8 instead of straight into 2.9 the proper way (as new methods of the wxRenderer* classes.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 00:05:20 +00:00
Robin Dunn
aae5ec8bbe Avoid asserts when wxDP_ALLOWNONE is used and the date is set to wxDefaultDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 22:15:55 +00:00