Commit Graph

2883 Commits

Author SHA1 Message Date
Stefan Csomor
66ddd74d23 guarding against events sent to semi-destroyed instances, fixes #10418
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 08:01:41 +00:00
Stefan Csomor
2739181bd1 simplifying code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 19:21:13 +00:00
Stefan Csomor
dca07f802e supporting paper height, fixes #10376
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 11:55:37 +00:00
Stefan Csomor
80061353ef menubar activation, fixes #10352
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 17:30:45 +00:00
Stefan Csomor
4d371eebfc removing Leopard only code that doesn't mix well with the existing Printing Manager, fixes #10343
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 10:01:11 +00:00
Stefan Csomor
ecea45123d clearing shortcuts, patch from Leland, fixes #10342
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 20:07:09 +00:00
Stefan Csomor
164c67c40f bringing ctrl and cmd accel handling for menus in line with pure key event handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 09:40:34 +00:00
Stefan Csomor
8e0e596965 using GetFont calls instead of direct accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 09:36:54 +00:00
Stefan Csomor
e8aff59639 using GetFont calls instead of direct accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 09:34:07 +00:00
Stefan Csomor
2cdacc9a81 support for proper mouse events for controls embedded in native toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 13:57:18 +00:00
Vadim Zeitlin
cc05060c18 make colours used by list and tree controls more consistent with the system theme settings; also use the correct colour for the status bar (closes #10089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 13:03:24 +00:00
Kevin Ollivier
aec24dc76c More fixes for API on 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 21:39:29 +00:00
Kevin Ollivier
ff7007184b Mac fix for moving methods to non-virtual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:58:58 +00:00
Kevin Ollivier
f6810851c6 Landing 2.8 ABI compatible version of wxGraphicsBitmap API/implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:25:09 +00:00
Kevin Ollivier
085dae419f Do proper cleanup of event handlers in wxWebKitCtrl and wxMacUnicodeTextCtrl, and unset the window focus when destroying a top level window to ensure that controls do not receive events after the wx portion of the control has been destroyed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:02:15 +00:00
Stefan Csomor
78a7d145c6 adding alias support for directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 19:13:33 +00:00
Vadim Zeitlin
753874333a reverted the change of r56246 and keep the old behaviour of MB2WC/WC2MB; document it even more clearly and correct code using these functions incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 11:31:22 +00:00
Stefan Csomor
76a07a77ca focus propagation, fixes #10047
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 14:32:25 +00:00
Stefan Csomor
a67b5195c2 optimization by Tim Kosse/Filezilla
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 09:50:38 +00:00
Stefan Csomor
04f1d418f6 fixing #9910
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 08:21:09 +00:00
Kevin Ollivier
ceaf599d64 Respect the wxNO_BORDER flag for tool windows without a titlebar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 04:27:59 +00:00
Kevin Ollivier
68db272e35 Fix memory leak.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 03:01:14 +00:00
Stefan Csomor
34785fc861 routing SetTitle to SetLabel as MSW does, fixing potential zombie pointers after mouse down events which delete windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 13:08:41 +00:00
Stefan Csomor
b43a0635a2 fixing leak in the 'old' non-graphics code, thanks to Kevin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-19 04:50:45 +00:00
Stefan Csomor
54fa957a48 fixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 17:55:14 +00:00
Stefan Csomor
bc217fe9dc guarding all text methods against unset font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 06:31:46 +00:00
Stefan Csomor
2c02248f15 trying to fix dnd problems leopard refs #9748
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 15:41:53 +00:00
Stefan Csomor
cfb265f172 trying to fix dnd problems with the unicodetextcontrol under leopard refs #9748
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 14:53:24 +00:00
Stefan Csomor
dec0ad4bb9 changing condition to make sure we are not failing in case the min system is given as 10.3.9 ... solves #9693
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-04 14:23:38 +00:00
Stefan Csomor
d2a6e31b73 updating help texts, fixes #9647
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 12:47:11 +00:00
Stefan Csomor
185903c018 fixing an incorrect conversion path from utf8 to plain ascii instead of unicode, closes #9629
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 07:09:17 +00:00
Stefan Csomor
766b74922c use 10.3 backwards compatible names for constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 07:44:39 +00:00
Stefan Csomor
aafb2a38a0 10.3 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-08 15:54:22 +00:00
Stefan Csomor
0e7eeb264e when no prefix used, #if cannot work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 09:07:16 +00:00
Stefan Csomor
45cf406a74 guarding with wxMAC_USE_CORE_GRAPHICS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 07:16:36 +00:00
Stefan Csomor
c20b3423a5 to make sure the CG code never gets called when not in a CG-Build, as this method is only needed for dcgraph's blitting, no loss anyway
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 04:35:11 +00:00
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
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
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
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
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
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
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
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
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
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