Commit Graph

3823 Commits

Author SHA1 Message Date
Václav Slavík
88a1b6485f don't show the I-beam cursor over text in wxHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 11:38:36 +00:00
Jamie Gadd
44c930ebba Fix bug in GetTimeZone where timezone wasn't set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 03:05:45 +00:00
Václav Slavík
bc55e31bdc 1. added abstract interface to wxHtmlWindow for use by wxHtmlWinParser and implemented it for wxHtmlListBox
2. used the above to implement clickable links support in wxHtmlListBox


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-13 22:08:28 +00:00
Julian Smart
87cf52d8ac On screens with restricted space, it's useful to be able to add controls
to e.g. the wxChoice control of a wxChoicebook. GetControlSizer
allows an app to do that, and we also add a control margin which
may or may not be respected by individual book controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-13 14:22:32 +00:00
Vadim Zeitlin
43563ef2dd mention UTF-16/32 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 16:22:14 +00:00
Julian Smart
ca3af33701 Addd IsDynamic, added const to CreateObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 14:29:50 +00:00
Vadim Zeitlin
d5bef0a323 added wxConvUI which determines the conversion used for the UI elements and can be changed from the user code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 00:36:24 +00:00
Vadim Zeitlin
ef95ce4170 documented all the other global conversion objects (wxConvLocal, wxConvISO8859_1, wxConvUTF8)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 00:33:18 +00:00
Vadim Zeitlin
5f11fef543 use the encoding of the font which is used to draw the text when convering it to UTF-8 in wxGTK_CONV; the old wxGTK_CONV renamed to wxGTK_CONV_SYS (uses system encoding) and used in the contexts where no font is available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 22:22:13 +00:00
Vadim Zeitlin
33de8c70f3 wxGetActiveWindow() exists in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 19:42:56 +00:00
Vadim Zeitlin
fc298ea781 added wxDCClipper ctor overload taking a wxRegion and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 15:08:10 +00:00
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
830f8f11bc 1. changed all "wxMBConv& conv" parameters to "const wxMBConv&"
2. this allows to use wxConvAuto() instead of wxConvUTF8 as default value
   for this parameter in the classes which read text from the file: wxConvAuto
   automatically recognizes the BOM at the start of file and uses the correct
   conversion
3. don't use Windows for UTF-7 conversions as there is no way to make it
   fail on invalid UTF-7 strings; use our own wxMBConvUtf7 instead


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 14:37:47 +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
Julian Smart
d4445d24d3 Reverted wxChoice size fix due to problems in W2K and below
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 09:21:11 +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
Vadim Zeitlin
e11e27cf74 made wxTextFile work in Unicode (bug 1260189); also made it possible to use it with non seekable files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 23:31:23 +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
Vadim Zeitlin
3af9f2de59 added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 17:00:40 +00:00
Włodzimierz Skiba
894b93d3ba Updated changes list after int/size_t unsigned int.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 23:57:43 +00:00
Robin Dunn
6fa9383b57 Add a note about WXK*PRIOR and WXK*NEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 17:01:12 +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
Julian Smart
936bbdf902 Updated adding samples section.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 08:28:38 +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
Julian Smart
b83d533aec Miscellaneous change log updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 16:16:49 +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
Julian Smart
0cd6a2f8e6 Rearranged, added info about universal builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 14:38:06 +00:00
Vadim Zeitlin
eca0692c77 fixed several bugs in ParseDate() (invalid dates could result in assert failure while some valid dates such as 29 Feb 2004 were not recognized)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 16:20:43 +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
Vadim Zeitlin
dfa0b52f4a 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@38251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:19:53 +00:00
Vadim Zeitlin
637b7e4f3a added semicolons after wxCHECK()s (part of patch 1450705)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 14:16:34 +00:00
Vadim Zeitlin
be27bc46ab corrected cross-reference to non existent note
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 13:43:58 +00:00