Commit Graph

40921 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
f79c87817e oops, fix compilation after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 21:02:36 +00:00
Vadim Zeitlin
b29e8302f4 backport wxDocManager::MakeNewDocumentName() from the trunk for forward-compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 20:16:50 +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
Benjamin Williams
1570d8e9e2 applied patch 1908782 wxAuiMDIChildFrame not removed from wxAuiMDIClientWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 18:58:52 +00:00
Julian Smart
ca8eed8584 Apply previous paragraph style if pasting plain text, but not if pasting rich text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 08:46:55 +00:00
Stefan Csomor
554ddc6197 applying 1960600 (avoid dereferencing lc if it hasn't been set)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 04:48:24 +00:00
Vadim Zeitlin
aba0599409 correct toolbar width calculation with comctl32.dll < 6.0 (patch 1902358)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 13:25:00 +00:00
Paul Cornett
282981549e use PNGAPI if it is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-07 16:23:55 +00:00
Julian Smart
c3d7a91965 Added const when writing XPMs to avoid gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-07 07:28:57 +00:00
Václav Slavík
0d00401fba fixed &nbsp; handling in wxHtmlWinParser, broken by TAB-handling changes (bug #1957041)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 10:53:58 +00:00
Julian Smart
af11165bd2 Reverted patch 1906896 because it broke prgrammatic style application with BeginStyle/EndStyle.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 10:10:40 +00:00
Julian Smart
cf9dd95107 Use fallback if passing -1 as point size (as allowed on other ports)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 08:16:16 +00:00
Julian Smart
2325bae316 Removed non-ANSI characters, even if the result is gibberish German
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 08:15:38 +00:00
Václav Slavík
ab86ce5ab8 clarified From/To8BitData's purpose
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-04 21:03:33 +00:00
Stefan Csomor
8f84d5c036 fixing memory leaks on three levels (bug report 1905138)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-04 13:49:42 +00:00
Václav Slavík
175fea401a check tables width parameter for invalid values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-04 09:37:00 +00:00
Julian Smart
3f889a8168 Fixed [ 1905777 ] Defining default accelerators for wxRichTextCtrl
Added standard accelerators for cut, copy, paste and select all.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 20:18:36 +00:00
Julian Smart
a2efbf7b88 Applied patch [ 1906896 ] Fix for bug #1906223 and optimization
Don't set default style to cursor style until entering text
Andrej Sinicyn



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 20:07:41 +00:00
Julian Smart
26213f31ea Don't trigger kill focus event twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 19:53:30 +00:00
Vadim Zeitlin
8072d933e8 don't return junk from wxHtmlTag::GetParamAsInt() if the parameter is not an integer [backport of r53432 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 00:40:29 +00:00
Bryan Petty
84e3b6cd27 Removed missing parameter from docs of wxVListBox constructor (bug 1956198).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-02 15:46:36 +00:00
Julian Smart
65cdb1b702 Reduced the height requirement for the bullet dialog for small displays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-29 11:56:13 +00:00
Julian Smart
a6fb54ec71 Added a wxRichTextCtrl-specific caret implementation in case of need
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-29 09:10:05 +00:00
Julian Smart
2b91dd9e34 More efficient implementation of DoGetPartialTextExtents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 13:46:11 +00:00
Stefan Csomor
6c18db538f adapted Julian's new speed improved version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 13:09:20 +00:00
Vadim Zeitlin
3fea4c9842 fix wxEVT_COMMAND_TEXT_ENTER generation in wxSpinCtrl [backport of r53396 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 11:33:47 +00:00
Václav Slavík
a772b79eb1 report Unicode characters when reporting EVT_CHAR in keyboard sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 11:09:33 +00:00
Julian Smart
824ff8bd8a Make controls better size on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 10:15:49 +00:00
Kevin Ollivier
612c1ebf57 Reverting last commit, it breaks ABI compat.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 04:19:15 +00:00
Kevin Ollivier
ee50eb7432 Store the DC used to initialize wxGCDC, and make it retrievable. This helps with things like wxRenderer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 02:29:44 +00:00
Julian Smart
00217f95a4 Bug fix for empty objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-27 17:17:08 +00:00
Julian Smart
ff004763b2 Further wxRichTextCtrl performance improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-27 13:26:57 +00:00
Vadim Zeitlin
70f90022b7 backport fix to _TIFFrealloc from newer libtiff in trunk: don't call ::GlobalSize(NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-26 23:05:39 +00:00
Julian Smart
4ced5be46a Fixed quotation mark input/output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-26 19:43:11 +00:00
Kevin Ollivier
24e71cb379 Add support for Mac dock icon bouncing. I used a cross-platform enum so that we can (ideally) craft a cross-platform API for 3.0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-26 05:43:41 +00:00
Kevin Ollivier
cf62ab93e6 Make build tools accessible in 2.8 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-26 02:33:48 +00:00
Václav Slavík
987e09dce1 Fixed handling of transparent background in borderless wxBitmapButton (patch #1477883)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 23:19:36 +00:00
Julian Smart
567197af17 Made performance acceptable for editing large paragraphs on low-powered machines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 14:39:54 +00:00
Julian Smart
3bc1747441 Further optimizations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 11:44:13 +00:00
Václav Slavík
c9630cbcf5 merged trunk translations for strings occuring but not translated in 2.8 into 2.8 catalogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 08:30:00 +00:00
Václav Slavík
00f39b52b0 updated 2.8 message catalogs from sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 07:58:37 +00:00
Václav Slavík
55135bf4cf don't merge msw/it.po with wxstd.pot during 'make allmo', it's manually maintained
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 07:56:14 +00:00
Kevin Ollivier
5e0ca64978 Ensure popup menus can display sub-menus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 23:31:29 +00:00
Julian Smart
126bfec4f8 Further performance optimizations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 15:01:54 +00:00
Václav Slavík
c853b92bdb wxHTML: preserve TAB characters when copying <pre> content to clipboard (backport from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 11:54:05 +00:00