Commit Graph

24330 Commits

Author SHA1 Message Date
Vadim Zeitlin
bf9b73bb83 add wxCAL_SHOW_WEEK_NUMBERS support (patch 1960860)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 00:05:18 +00:00
Vadim Zeitlin
e559d790fb add wxCmdLineParser::AddUsageText() and wxCMD_LINE_USAGE_TEXT (modified patch 1957542)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 00:03:06 +00:00
Paul Cornett
b6819de8da disconnect handler in wxTaskBarIcon dtor, should have been part of previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 23:04:14 +00:00
Paul Cornett
3abc756645 prevent crash if panel/kicker is killed, bug 1872724
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 22:45:36 +00:00
Vadim Zeitlin
9c8116f8f7 take const wxConfig object in wxDocManager::FileHistoryLoad() and wxFileHistory::Load() (patch 1942316)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 20:32:35 +00:00
Paul Cornett
460d7f8221 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/trunk@53561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 20:17:30 +00:00
Vadim Zeitlin
fd11f77773 fix appending items to sorted control (patch 1940384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 19:59:17 +00:00
Vadim Zeitlin
29a96d3c09 avoid extra reallocations and memcpy for seekable files in OnRead() (slightly modified patch 1935975)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 17:44:32 +00:00
Vadim Zeitlin
2303552172 assert if the window is being recreated, this indicates a bug in the user code and can be difficult to find without the help of this assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 17:18:15 +00:00
Vadim Zeitlin
2c66581eaa show resize grip on resizeable dialogs (slightly modified patch 1910654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 17:12:36 +00:00
Vadim Zeitlin
bcbb13598c make class names used for our windows unique between different wx instances (modified patch 1898289)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 16:17:34 +00:00
Stefan Neis
eac3a2283f Blind fix for bug #1936227 (unable to set initial value > 100).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 15:24:03 +00:00
Vadim Zeitlin
8f08b2509b don't send text changed events from ctor as wxGTK doesn't do it and people apparently don't like it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 00:29:47 +00:00
Paul Cornett
573bd31feb remove extra semicolons, correct virtual access
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 17:48:44 +00:00
Paul Cornett
f92ef8536a non-pch build fixes, after r53535
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 17:46:38 +00:00
Paul Cornett
8d49fda64d don't send paint events for exposures of the border-only GdkWindow, fix for bug 1894655
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 17:30:56 +00:00
Francesco Montorsi
d75a69e832 replace use of 'long/int bitmapType' with 'wxBitmapType bitmapType' in richtext and wxMemoryFSHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 09:40:33 +00:00
Robin Dunn
d6781628fd Merge r53510 from 2.8 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 22:18:34 +00:00
Václav Slavík
eeb6bb3493 fixed wxMac compilation after ShowWithEffect() changes; also fixed to use correct directions meaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 21:53:42 +00:00
Benjamin Williams
8691bf118c applied patch 1908782 wxAuiMDIChildFrame not removed from wxAuiMDIClientWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 18:59:19 +00:00
Stefan Csomor
a37e742445 reverting style of include back to user include as before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 16:57:43 +00:00
Julian Smart
71d8e824aa Apply previous paragraph style if pasting plain text, but not if pasting rich text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 08:47:08 +00:00
Vadim Zeitlin
13a3888794 extracted wxWrapSizer in separate files and somewhat improved it (heavily modified patch 1876663)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 22:45:44 +00:00
Václav Slavík
eed04c9999 changed ShowWithEffects() to use directional wxSHOW_EFFECT_XXX flags instead of additional wxDirection argument that doesn't always make sense; this also means the direction is never implicit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 21:56:26 +00:00
Vadim Zeitlin
49dcc246bf add wxSizer::SetDimension() overload taking wxPoint/wxSize instead of 4 ints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 18:58:04 +00:00
Vadim Zeitlin
fd6939a6d2 don't call TB_GETITEMRECT with invalid tool index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 14:57:00 +00:00
Vadim Zeitlin
e54266add7 fix some unused variables warnings reported by Borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 14:48:59 +00:00
Vadim Zeitlin
7f0cbaaa4a correct the signature of the overriden Reparent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 14:15:07 +00:00
Vadim Zeitlin
3e9db38eaf don't override DoDrawSpline() under CE at all instead of overriding it and then always forwarding to the base class version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 14:13:15 +00:00
Vadim Zeitlin
7210c3a12c fix confusion with (Do)DrawSplines() overloads; don't allocate points on the heap unnecessarily when we can just do it on the stack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 14:12:38 +00:00
Vadim Zeitlin
3c30bbb9fa correct toolbar width calculation with comctl32.dll < 6.0 (patch 1902358); simplified the code a little by introducing wxGetTBItemRect() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 13:19:24 +00:00
Vadim Zeitlin
e8089d444f compilation fix after switch to using std::string in wxString internally when wxUSE_STD_STRING==1 instead of only when wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 12:55:26 +00:00
Paul Cornett
c3b10b4434 use PNGAPI if it is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-07 16:23:55 +00:00
Julian Smart
90e4fb5d04 Added const when writing XPMs to avoid gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-07 07:29:13 +00:00
Václav Slavík
63feebce0a compilation fixes for !wxUSE_FONTMEM case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-06 21:11:59 +00:00
Václav Slavík
9d646d31c9 removed wxDCWindowImpl::m_win; use wxDCImpl::m_window instead (fixes caret-related crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-06 17:08:49 +00:00
Václav Slavík
579de297d0 use const char*, not char*, for embedded XPMs to fix gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-06 15:29:05 +00:00
Vadim Zeitlin
a4f270bc86 dump totals as well as averages when gatheting statistics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 23:35:58 +00:00
Václav Slavík
5096757411 fixed &nbsp; handling in wxHtmlWinParser, broken by TAB-handling changes (bug #1957041)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 10:52:30 +00:00
Julian Smart
0a21bea0dd Reverted patch 1906896 because it broke prgrammatic style application with BeginStyle/EndStyle.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 10:10:17 +00:00
Julian Smart
4f4684d77d Use fallback when passing -1 for point size (as allowed by other ports)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 08:16:58 +00:00
Stefan Csomor
2b3bddf68b fixing memory leaks on three levels (bug report 1905138)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-04 13:55:14 +00:00
Václav Slavík
e388dc214c check tables width parameter for invalid values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-04 09:36:33 +00:00
Václav Slavík
7bf6f523e7 fixed incorrect handling of end iterator in HtmlizeLinebreaks() introduced in r53298 (patch #1956966)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-04 08:45:43 +00:00
Julian Smart
addcf76c65 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/trunk@53442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 20:18:49 +00:00
Julian Smart
5cab4a770c 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/trunk@53439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 20:07:28 +00:00
Julian Smart
21172fff5b Made bullet page more compact
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 20:01:49 +00:00
Julian Smart
b89e104ec0 Don't trigger kill focus event twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 19:53:53 +00:00
Vadim Zeitlin
cfd9159888 replaced test for inexistent wxUSE_LOCALE with the correct wxUSE_INTL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 15:33:28 +00:00
Vadim Zeitlin
3f6901ad7f don't return junk from wxHtmlTag::GetParamAsInt() if the parameter is not an integer (this resulted in practically infinite loop in table parsing code for bad HTML with incorrect colspan values)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 00:39:44 +00:00