Commit Graph

41401 Commits

Author SHA1 Message Date
Julian Smart
f6ca6062f1 We have to avoid use of wxMacLTEHIViewControl even with CG on 10.5
because we get focus ring problems with wxSpinCtrls and wxSpinButton
(to reproduce pre-this-patch, click between wxSpinCtrl and wxSpinButton
in widgets sample)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 23:06:36 +00:00
Julian Smart
d91c632a9a Corrected version test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 21:44:19 +00:00
Julian Smart
7cc504b42d Avoid disabling comboboxes completely on 10.4 (caused by rev 56156)
See also ticket 10047


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 21:31:50 +00:00
Julian Smart
c23b675f92 Don't use wxMacMLTEHIViewControl for single-line text controls in non-Core Graphics mode
since it doesn't refresh borders properly even on 10.5


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 21:26:35 +00:00
Julian Smart
4931fa77fa wxRichTextCtrl native caret now flashes, for wxMac/Core Graphics mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 21:09:42 +00:00
Julian Smart
eb10b04a3a Avoid accidental enabling of disabled windows by checking for disabled parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 16:32:56 +00:00
Vadim Zeitlin
436dccde70 fix memory leak in SetColFormat() if the column already had an attribute (closes #1807)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 18:24:37 +00:00
Vadim Zeitlin
c579f80892 avoid name clashes with GSocket from glib 2.21+ (closes #10883)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 03:35:38 +00:00
Vadim Zeitlin
9e1f3a964f correct the fix for avoiding the integer multiplication overflow to really work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 22:28:48 +00:00
Vadim Zeitlin
100fa8e4c0 account properly for the menu in SetShape() (closes #10870)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 22:24:13 +00:00
Julian Smart
1b98c87ba6 Use live update for splitter on Mac since Leopard seems even more susceptible to screen drawing crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 08:01:38 +00:00
Vadim Zeitlin
49b68299ce credit the reporter of bugs in PNG and TIFF code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-03 15:44:17 +00:00
Vadim Zeitlin
f76faf0ad3 mention PNG and TIFF loaders fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:52:03 +00:00
Vadim Zeitlin
6555147b11 check for integer overflow which could result in buffer overrun when loading an invalid TIFF file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:51:26 +00:00
Vadim Zeitlin
619643cc37 don't free() the same pointer twice if an error occurs during lines pointers allocation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:50:30 +00:00
Julian Smart
5fefca5fb1 Backported Vaclav Slavik's speeded up accurate print preview code from trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 10:16:13 +00:00
Vadim Zeitlin
20e227dfd0 don't add the sash size to the best size if the window is not actually split (see #10533) [backport of r59415 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 13:13:07 +00:00
Vadim Zeitlin
94254ee936 forward Freeze/Thaw() and Update() to the generic list control (see #10858)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 22:38:47 +00:00
Julian Smart
78c685542a Ensure the tooltip has been created before enabling or setting the delay, or they will be no-ops.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-29 13:32:27 +00:00
Robin Dunn
292500f3f8 Final build tweaks for 2.8.10.1 needed to compensate for Debian/Ubuntu changes in where the pacakges are installed for Python 2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-28 17:34:24 +00:00
Paul Cornett
a37af54e73 avoid making GLib call before gtk_init_check is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-28 16:00:45 +00:00
Vadim Zeitlin
0f2e4fd010 PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 09:27:44 +00:00
Paul Cornett
a69ab7e06b fix crash when reparenting, #3900
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-21 17:58:40 +00:00
Julian Smart
27269a137c COrrected my misapplied fix, sorry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-21 10:17:44 +00:00
Julian Smart
a25a317699 Avoid resetting size if paper id not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:18:11 +00:00
Julian Smart
96c5cff92a Removed duplicate semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:15:24 +00:00
Julian Smart
be60668fbe Added a comment about DMPAPER_USER not always working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:07:40 +00:00
Julian Smart
23590a7981 Fixed a problem with unrecognised paper id conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 11:56:37 +00:00
Robin Dunn
7e2d662bd7 build tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-17 03:12:44 +00:00
Julian Smart
5f65360a7b Added background colour control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 11:22:40 +00:00
Stefan Csomor
374c264ff5 applying, closes #9012
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 04:31:29 +00:00
Julian Smart
74fe278740 Fixed event propagation problems in wxMac native list control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-14 12:45:20 +00:00
Benjamin Williams
b58a285f94 in wxAuiToolBar, make certain that IsChecked() returns correct value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-14 10:46:07 +00:00
Vadim Zeitlin
fb2275f5b3 don't scroll to the child which gets focus if it's already fully visible (see #9563) [backport of r57402 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-12 10:33:49 +00:00
Vadim Zeitlin
7ccf7265a8 set native EOL styles for more files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-08 23:10:00 +00:00
Paul Cornett
6dcdeb3e25 draw focus rect for wxCheckListBox item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 16:04:20 +00:00
Paul Cornett
ea3ce35cd8 fix off-by-one size of wxCheckListBox item draw rect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 15:51:09 +00:00
Vadim Zeitlin
19fd2b71d4 enable wxHAS_RAW_BITMAP for OpenWatcom 1.8 and later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 11:42:16 +00:00
Paul Cornett
cb8afeb3e3 build fix for wxUSE_CONFIG==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-05 22:51:44 +00:00
Stefan Csomor
28f769d315 switching to pthreads on 2.8 for osx as well, needed for performance reasons, since TEConverters are now guarded by a mutex, reported by Charlie Fenton from BOINC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-05 12:26:54 +00:00
Kevin Ollivier
adc1049354 Allow m_current to be used for the focused item, and reset the scroll position when removing all items from the data browser control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 18:55:12 +00:00
Vadim Zeitlin
452a710f37 don't use invalid image list index (closes #10472)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 15:44:18 +00:00
Stefan Csomor
447e7f8ae1 reverting r43119, fixes #10752
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 13:42:25 +00:00
Vadim Zeitlin
797e9dad09 fix a problem with loading inked.dll (see #10633)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 18:41:02 +00:00
Robin Dunn
958a3e2928 Use a hidden window to catch the timer messages instead of a timer proc. This fixes an obscure problem where a new activation context is ignored while in the scope of the timer callback. wxPython needs the activation context to always be active.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-24 05:06:25 +00:00
Robin Dunn
143ec48ee5 Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-24 04:23:31 +00:00
Julian Smart
7048cc51fc State fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-22 14:00:41 +00:00
Julian Smart
0c3f08c51d Removed redundant/harmful no anti-aliasing on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-22 07:58:35 +00:00
Vadim Zeitlin
f689ef03fa mention incompatible change in EVT_TREE_ITEM_ACTIVATED behaviour under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-17 13:24:00 +00:00
Benjamin Williams
e787be7457 implement default width for toolbar labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 12:58:37 +00:00