Commit Graph

22362 Commits

Author SHA1 Message Date
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
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
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
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
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