Commit Graph

2537 Commits

Author SHA1 Message Date
Vadim Zeitlin
65afac3fbc added wxTLW::ShouldPreventAppExit() which can be overridden to allow closing the application even if some windows are still opened; use it for wxHtmlHelpFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 00:38:49 +00:00
Vadim Zeitlin
402dfce7b3 GetBoundingRect() is supposed to return the logical coordinates, even in !textOnly case; also documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 14:27:34 +00:00
Vadim Zeitlin
46f4cdbeaf changed the version and the date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 11:29:22 +00:00
Vadim Zeitlin
483b0434bf added new To/FromWChar() API with more reasonable semantics than old MB2WC/WC2MB; for now both coexist and the change is/should be backwards compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 12:35:21 +00:00
Vadim Zeitlin
7ef3ab50e9 renamed GetMinMBCharWidth() to GetMBNulLen(), made it public and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 07:49:08 +00:00
Vadim Zeitlin
5e51fb4ca5 fixed LaTeX markup to suit tex2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-03 22:16:22 +00:00
Mart Raudsepp
8de699dcfa Sync wxGTK docs from WX_2_6_BRANCH to HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-03 05:53:39 +00:00
Vadim Zeitlin
89971c7710 document missing default parameters in ctor (patch 1458151)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 01:29:17 +00:00
Vadim Zeitlin
bd35ed323f added wxTimeSpan::Millisecond[s]() for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 00:58:44 +00:00
Vadim Zeitlin
adf5d5935b added NUL command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 12:43:52 +00:00
Vadim Zeitlin
eec47cc6c4 Described in the comments and documented the semantics of the parameters and
return values of wxMBConv methods and tried to make them more consistent. The
only (intentional) backwards incompatible change is that cMB2WC/cWC2MB now
return the length of the converted string in outLen parameter and not length+1

Added wxMBConv::GetMBNul() and use it instead of supposing that all multibyte
strings are always terminated with a single NUL which is wrong for UTF-16/32.

Using GetMBNul(), completely rewrote cMB2WC/cWC2MB() to accept a string of the
specified length, whether it is NUL-terminated or not. This means that they
don't overwrite the provided buffer any more and convert the entire string in
all cases.

Fixed bug in wxMBConvUTF16::WC2MB() which didn't NUL-terminate the string
properlyv even if there was enough space.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 12:43:03 +00:00
Włodzimierz Skiba
1c067fe3c1 Removed every usage of obsolete wxTLW flags. 2.6 compatibility markup for them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 18:07:22 +00:00
Vadim Zeitlin
0900766967 added func parameter to wxOnAssert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-29 14:33:53 +00:00
Włodzimierz Skiba
989ab1e5a6 Line-up deprecated interface of wxTreeCtrl between ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 13:11:20 +00:00
Włodzimierz Skiba
4033be7874 More typos.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 13:00:42 +00:00
Włodzimierz Skiba
6cfc4ddb23 Patch #1459942: typos.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 11:34:55 +00:00
Włodzimierz Skiba
e0c8d2d924 Documentation fixes for unresolved labels after changes in debbuging api.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 11:24:08 +00:00
Włodzimierz Skiba
6cd6ec633c Fix for broken 'param' macro syntax.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 15:02:59 +00:00
Vadim Zeitlin
f3b0f8ad21 documented GetResourcesDir() and GetLocalizedResourcesDir() (somehow forgot to commit before, sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 13:48:18 +00:00
Włodzimierz Skiba
faa94f3ec8 Final and global PRIOR/NEXT change: keep consistency using only PAGE versions, deprecate old ids, remove rest of build problems with case statemets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 12:25:17 +00:00
Vadim Zeitlin
4fbbe847c8 explain that the message catalogs should be installed in the default directory for them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 00:23:44 +00:00
Julian Smart
03cc5f8ec5 Added note about accelerator translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 12:13:07 +00:00
Vadim Zeitlin
aa61d35253 replaced all int/size_t indices in wxControlWithItems API with unsigned int (committing on behalf of ABX)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 22:05:23 +00:00
Vadim Zeitlin
fd05688e22 documented __WXFUNCTION__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:31:09 +00:00
Vadim Zeitlin
2bd3cba690 made alphabetical list of functions more alphabetical
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:20:28 +00:00
Vadim Zeitlin
3ec4a23f50 show the function in which the assert failure occured if the compiler supports it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:47:24 +00:00
Mart Raudsepp
e027bfd9cb Update copyright years. Is manual2e.tex even used anymore? Much information in it is out of date.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 13:32:23 +00:00
Vadim Zeitlin
afcc11bb93 documented option enabling DirectDraw implementation of wxDisplay under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 16:10:50 +00:00
Vadim Zeitlin
6c5d62917d added wxDisplay::GetClientArea() (currently implemented for single display and MSW implementations only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 16:07:24 +00:00
Włodzimierz Skiba
c7094dec84 Documentation build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 18:14:36 +00:00
Julian Smart
6fdaa47727 Added documentation for compiling under Windows Mobile 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 10:32:34 +00:00
Włodzimierz Skiba
afbe150a76 Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 19:30:06 +00:00
Vadim Zeitlin
3c81c9aafb added GetScreenPosition/Rect() which always return the screen coordinates of the window (for child windows and TLWs alike)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 15:45:12 +00:00
Mart Raudsepp
41e9579283 OnGetLineHeight and OnGetLinesHint are virtual, so document them as such. Closes bug #1445485
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 00:36:44 +00:00
Mart Raudsepp
0902898a15 Docs: Escape underscores
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 00:24:53 +00:00
Włodzimierz Skiba
43f06cfda1 Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:49:25 +00:00
Vadim Zeitlin
e894be201b GetNumberOfLines() now returns the number of physical, not logical, lines in the control in wxGTK2 as under the other platforms (patch 1438117)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 12:46:58 +00:00
Julian Smart
4c43dd9078 Applied patch [ 1432449 ] wxXml API documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 13:43:58 +00:00
Robin Dunn
06db67bcb0 Applied Patch #1424869: Implement wxListCtrl::SetItemColumnImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 21:26:59 +00:00
Julian Smart
abd61ebf9b To -> From
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 18:04:55 +00:00
Vadim Zeitlin
bc509e346e OnApply() calls TransferDataFromWindow(), not To
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 18:02:15 +00:00
Vadim Zeitlin
c00fed0ef4 added wxListBox::HitTest() from Ryan (patch 1446207)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 12:48:52 +00:00
Vadim Zeitlin
9d3cb3f369 added a tiny class to call Freeze/Thaw in ctor/dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 01:50:21 +00:00
Julian Smart
619111b9aa Fixed wxGenericFileDialog to work with WinCE, so it can be used to
replace native dialog that doesn't allow access to all folders.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 10:44:48 +00:00
Mart Raudsepp
304b9d52cf Docs: Escape underscores
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 13:59:27 +00:00
Julian Smart
53754b9293 Documented WinCE context menu change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 14:28:41 +00:00
Kevin Hock
30bbf68d3a Make SetLocal actually work instead of crashing immediately; due to required longevity of the item to make it from SetLocal to Connect, we need to use a specifc address type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 02:04:29 +00:00
Robert Roebling
d77836e48c Applied wxVScrolledWindow patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 09:59:39 +00:00
Vadim Zeitlin
4e43c81518 minor docs corrections and improvements from Andreas Mohr (patch 1430551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 15:18:35 +00:00
Vadim Zeitlin
a3a4105df6 it is not possible to show/hide the window from the UpdateUI event handler; refactored the code by moving control-specific parts into the derived classes (patch 1338350)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 16:32:50 +00:00