Commit Graph

883 Commits

Author SHA1 Message Date
Włodzimierz Skiba
370efbe741 [ 1498016 ] 'Add wxUniv toolbar support wxTB_TEXT style' - with modifications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 18:15:42 +00:00
Michael Wetherell
0cc14b9cc5 Warning fixes for VC++ 5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 17:31:31 +00:00
Michael Wetherell
6b8f5d3069 64-bit fix in wxNotebook for Tru64.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 17:26:55 +00:00
Michael Wetherell
6624c58882 wxMGL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 17:24:44 +00:00
Paul Cornett
896395610d mention better gtk wxScrollWinEvent generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:33:30 +00:00
Vadim Zeitlin
f395a825a9 added CollapsePath() (patch 1494638)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:54:28 +00:00
Vadim Zeitlin
bd00fe32fb implemented notifications of the child process termination (patch 1494439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:51:23 +00:00
Vadim Zeitlin
fd0bab4353 use dynamic array for the page breaks positions (patch 1483976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:56:28 +00:00
Vadim Zeitlin
234fedd2d3 added support for CMYK JPEGs loading (patch 1476078)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 20:08:39 +00:00
Vadim Zeitlin
164a797204 added wxListCtrl::GetSubItemRect() and subitem hit testing (patch 1476971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 18:10:10 +00:00
Vadim Zeitlin
17e914373a added wxHyperlinkCtrl (patch 1476781 from Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:41:09 +00:00
Vadim Zeitlin
e978011a40 delete the associated wxStaticBox in wxStaticBoxSizer dtor (patch 1473769)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:24:12 +00:00
Vadim Zeitlin
6a1b3ead3f added wxTB_NO_TOOLTIPS (heavily modified patch 1458009)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:17:02 +00:00
Vadim Zeitlin
7a828c7ffb wxVsnprintf() implementation with positional parameters support (patch 1462778); disabled for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:18:15 +00:00
Vadim Zeitlin
6540132fa1 wxFontEnumerator::GetFacenames/Encodings() now return arrays and not pointers to them (patch 1483341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 13:51:34 +00:00
Vadim Zeitlin
355debca06 added wxPowerEvent; moved power functions stubs to common/powercmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 14:09:40 +00:00
Włodzimierz Skiba
6e0f4664cc Correct dll usage for wxDatePickerCtrl under WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 23:58:39 +00:00
Vadim Zeitlin
61d702d9e6 mention the addition of the clipboard events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 01:12:30 +00:00
Julian Smart
f56e08c432 Documented wxUniv wxToggleButton addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 20:36:14 +00:00
Vadim Zeitlin
a57d600f1a renamed wxComboControl to wxComboCtrl and related wxUSE_XXX and configure switches for consistency with the other ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 22:57:40 +00:00
Kevin Hock
635f2bad90 Continue reading after checking the pushback buffer if more data is requested. Otherwise, once any data if placed in the pushback buffer, no more data will be read from the socket, even if more data is requested.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-14 19:49:19 +00:00
Vadim Zeitlin
0bcb13b8ea mention wxComboControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:47:26 +00:00
Vadim Zeitlin
3affcd078b added wxString::EndsWith() (patch 1483049)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 17:27:52 +00:00
Vadim Zeitlin
53ee60908a added wxTextAttr::Merge (modified patch 1482719)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:16:25 +00:00
Vadim Zeitlin
9b7d3c0988 blank lines were ignored in multiline cell labels (replaces patch 1476165)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:33:23 +00:00
Vadim Zeitlin
c670c85582 added Get/SetItemToolTip() (and implemented them for MSW) to allow setting tooltips for the individual radiobox items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:08:56 +00:00
Włodzimierz Skiba
40989e46b8 [ 1473731 ] 'wxColourBase and wxString <-> wxColour implementation' with minor modifications and rebaked build files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 14:52:23 +00:00
Vadim Zeitlin
17af82fb4c added wxStandardPaths::GetDocumentsDir() (patch 1214360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 01:12:04 +00:00
Vadim Zeitlin
6493aacaeb centralized the handling of border styles; added borders support for wxListBox and support of other kinds of borders (patch 1448088)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:38:26 +00:00
Vadim Zeitlin
3786c8b587 added wxMenu::AppendSubMenu() to avoid having to specify a dummy id when adding a submenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:25:21 +00:00
Vadim Zeitlin
051924b886 Handle alpha channel in wxImage::Mirror() and GetSubImage() (patch 1469817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:37:39 +00:00
Vadim Zeitlin
481203cb23 made width computation in GetTextExtent() more precise, especially for italics fonts (based on the code from Wlodek Szafran)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 15:08:43 +00:00
Vadim Zeitlin
968f291be6 added wxString::rbegin() and rend()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 15:03:57 +00:00
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
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
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
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
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
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
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
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
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
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
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