Commit Graph

44147 Commits

Author SHA1 Message Date
Vadim Zeitlin
2bc44d6257 generate size event when the dialog is shown for consistency with frames and other ports (bug 1961671); this also makes workaround for showing the gripper in the previous revision unnecessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-14 01:30:49 +00:00
Vadim Zeitlin
952f8d3c7a delay gripper positioning until the dialog is shown to ensure that it doesn't overwrite other dialog children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-14 00:53:16 +00:00
Stefan Csomor
6662d8c097 adapting to new m_font handling in base (it's not always valid, so use GetFont())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-13 20:52:56 +00:00
Vadim Zeitlin
2059910d0b fix bug introduced by the last change: we could overwrite the buffer if the file size changed while we were reading it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-13 19:40:42 +00:00
Paul Cornett
143f80756d fix overload ambiguity when compiler doesn't know NULL is a pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-13 02:51:17 +00:00
Stefan Neis
cd3eb0f7bb Clarified difference between wrap width and width of control in wxStaticText.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 12:47:59 +00:00
Vadim Zeitlin
1e678b9b93 don't dereference end iterator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 11:22:39 +00:00
Paul Cornett
166fbaa46a fix wxColourData::FromString() not restoring 16th color, bug 1844355
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 06:27:38 +00:00
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
Vadim Zeitlin
16b627b06a make GetUsageString() public, this is useful at least for the tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 23:46:24 +00:00
Vadim Zeitlin
2d63583fba don't blit more than necessary in wxBufferedDC::UnMask() (patch 1943622)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 23:19:58 +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
bad6549d29 include wx/timer.h for wxUSE_GUI==0 now that timers can be used in console apps too (patch 1939223)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 17:45:52 +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
c6d36593cd add a test for reading files >4KB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 17:43:56 +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
006ecb226f move last change to the correct section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 17:08:08 +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
Vadim Zeitlin
756e6e4985 added in sections ommitted by the translation script; clairified EVT_TEXT (non) generation from ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 15:37:37 +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
Bryan Petty
d29a9a8ac8 Replaced @returns with @return for more standard command use and compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 01:38:53 +00:00
Vadim Zeitlin
a15c16bfd1 no changes, just fix a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 00:34:43 +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
7e721c7a4b give a name to the unnamed enum to make it easier to document it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 09:54:46 +00:00
Francesco Montorsi
ea6a2ccb4a other f*h header reviews
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 09:44:43 +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
Francesco Montorsi
21864ff2a1 added version check against gcc-generated xml; added readme and few other notes about ifacecheck
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 09:37:41 +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
Michael Wetherell
e10caf88b6 Move MinGW builds to another machine as td165 is down.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 08:30:57 +00:00
Vadim Zeitlin
4fc3ee301b update the documentation after the patch 1876663
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 22:50:40 +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
Bryan Petty
f992f2ae26 More interface header reviews by Azriel Fasten, along with a simple item "add" group for wxSizer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 20:46:34 +00:00
Bryan Petty
d5693ba91e Updates to wiki links, and XHTML source cleanups.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 19:42:25 +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