Commit Graph

4655 Commits

Author SHA1 Message Date
Václav Slavík
9cb9c214f6 more wxHTML Unicode fixes (removed wxPrivate_ReadString), wxSearchEngine-->wxHtmlSearchEngine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 00:01:23 +00:00
Václav Slavík
5a96f6be9c moved wxHtmlFilterHTML to public header, so that it can be used elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 23:58:51 +00:00
Mattia Barbon
6df6345a73 MinGW has tchar.h, but it does not include wchar.h as wxchar.h expects,
hence we include it explicitly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 21:07:42 +00:00
Mattia Barbon
eb8a028c10 Checks for wxUSE_WX_RESOURCES and wxUSE_PROLOGIO.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 20:57:46 +00:00
Vadim Zeitlin
6d979490a5 if the page changed due to pressing Ctrl-TAB was vetoed, the current tab was still changed (although the current page stayed the same!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 00:56:40 +00:00
Václav Slavík
1dc2721af8 removed wxXmlResource::GetFirstRoot for reasons explained at wx-dev
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 23:18:02 +00:00
Václav Slavík
e2c7efa04b added wxHtmlParser::StopParsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 19:30:02 +00:00
Robert Roebling
3049550ceb Added support for Unicode rendering through Pango to wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 15:20:42 +00:00
Ron Lee
9064852f8e Added a examples of virtual size use for setting scrollbars
both 'manually' and via sizer layout to scroll sample.
Tweaked it for various 2.4 idioms that have arisen since
it was written.

Replaced GenericScrolledWin's DoSetVirtualSize, it really is
needed for everything to work for both the user and lib.
Don't call it from default scrolledwindow OnSize handlers
unless AutoLayout is enabled though, and use the larger of
best and client size.  Hopefully this will fix any earlier
troubles this caused with M.

Purged (many) stray tabs &co from sizer.cpp

Changed DoGetBestSize to return wxDefaultSize when no useful
best size can be determined.  If GetBestSize is intended to
return the minimum undistorted size a window can take, we
must be able to discriminate between valid and 'best guess'
sizes, else the best guess windows can only grow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 13:29:26 +00:00
Václav Slavík
0cc3981cd9 Unicode fixes to wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 01:04:10 +00:00
Václav Slavík
9b0668e1a2 convertion --> conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 00:48:46 +00:00
Václav Slavík
6fb39fe84b Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 00:26:54 +00:00
Václav Slavík
867be82e3a <meta> tag handler no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 00:23:46 +00:00
Václav Slavík
2dfc97eea1 another approach to Unicodification of wxHTML handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 00:07:36 +00:00
Vadim Zeitlin
f385722728 made SameAs() and operator==() const, added operator!=() and docs for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 13:16:29 +00:00
Ron Lee
aff6c6037d Added GetAdjustedBestSize which returns the largest of
BestSize and any user specified Min size hints.

Put it to use with wxADJUST_MINSIZE, which now has a chance
of working;  a) if the item gets smaller, and b) with controls
(like wxButton) for whom BestSize and the user MinSize share
only the most tenuous relationship.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 08:04:19 +00:00
Gilles Depeyrot
1c8be62219 added wxUSE_PROLOGIO and changed default value of wxUSE_WX_RESOURCES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 21:49:36 +00:00
Ron Lee
80cf014b43 Surely it was not intended for SetBestSize to ignore a fully specified
size if passed one.    In any case, this method seems removable to me,
anyone care to confirm or deny that?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 14:21:51 +00:00
Václav Slavík
052a4b0f2f wxTextFile defaults to iso-8859-1, not wxConvLibc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 13:12:53 +00:00
Václav Slavík
1aa3e8d8f6 added wxConvISO8859_1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 13:12:42 +00:00
Václav Slavík
4383c2b97a added wxXmlResource::SetFlags as per wxWorkshop team's request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 11:10:59 +00:00
Vadim Zeitlin
2383b3b5f2 added missing winundef.h include after windows.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 14:40:26 +00:00
Vadim Zeitlin
611c1e0e6f added #if wxUSE_PROLOGIO test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 23:22:44 +00:00
Vadim Zeitlin
35891ce060 added wxUSE_PROLOGIO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 23:16:49 +00:00
Vadim Zeitlin
01f12b1adf fixed __BORLANDC__ misspelling (patch 632095)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 22:46:28 +00:00
Vadim Zeitlin
9f9cebfb6c conversion to/from DOS date/time (patch 627575)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 22:38:15 +00:00
Julian Smart
f5acd489cb wxMSW: Added context menu for rich edit control, as per standard EDIT control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 21:49:57 +00:00
Vadim Zeitlin
aa4ebcb98d fixes to wxPipeInputStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 21:33:28 +00:00
Robert Roebling
f4c049b60e Small correction for wxButton mouse events under GTK 2.0.
Minor doc updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 20:13:23 +00:00
Vadim Zeitlin
fa1837fe14 replaced global semaphore in gtk_notebook_page_change_callback() with a per-object one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 19:06:04 +00:00
Vadim Zeitlin
ae5dcdf0e6 work around for cygwin broken wchar.h: include extern C ourselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 17:47:18 +00:00
Vadim Zeitlin
85e5952bfe use wxSTREAM_NO_ERROR instead of deprecated wxSTREAM_NOERROR (fixes compilation without WXWIN_COMPATIBILITY_2_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 17:16:04 +00:00
Vadim Zeitlin
5a86eeac8c added wxInputStream::CanRead() and assorted other stream changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 00:39:44 +00:00
Vadim Zeitlin
caaff22c06 replaced type unsafe wxHash with hash_map<>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 21:03:02 +00:00
Robert Roebling
892a61dd37 Added more uniode compile fixes.
Made prologio and resources optional.
  Added native GTK 2.0 size grip to status bar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 19:09:08 +00:00
Václav Slavík
d402f19c82 make sure wxDefaultArtProvider is linked-in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 17:19:10 +00:00
Robert Roebling
c60cc91708 Bunch of compile fixes for wxX11 in Unicode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 13:48:04 +00:00
Robert Roebling
0f7730c502 Added wxString::FromAscii() for char
Used it in protocol.cpp which probably assumes ASCII anyway.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 13:07:41 +00:00
Stefan Csomor
56e770d6b7 added export attribute for classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 09:32:52 +00:00
Stefan Csomor
0c59640539 adjusted to other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 09:21:07 +00:00
Stefan Csomor
ebfb098877 corrected class export
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 09:18:16 +00:00
Vadim Zeitlin
e3a3ef96f1 removed default conv argument in wxString(const char *) ctor in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 00:01:52 +00:00
Vadim Zeitlin
d29e4f03d9 restored the old values of the wxFontEncoding enum elements and also made Chinese/Japanese encodings synonyms for the MS ones, not the new values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-31 20:43:48 +00:00
Robert Roebling
9f98d38391 Enable Unicode input methods via GTK's and XIM
under GTK 2.0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-30 19:56:03 +00:00
Robert Roebling
54b25889d2 Replaced lots of ANSI/ASCII strings with their
Unicode equivalents, i.e. I put wxT() arounf
    them in lots of places.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 21:48:06 +00:00
Vadim Zeitlin
a824bcf272 corrected misleading comment for WXWIN_COMPATINILITY_2_2 (closes 625817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 00:31:48 +00:00
Vadim Zeitlin
dab0267b99 enable wxProgressDialog for wxUniv, it should work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 00:04:28 +00:00
Vadim Zeitlin
0c3eefe809 fix for wxUniv compilation (patch 630082)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 00:02:07 +00:00
Chris Elliott
8f3c90b718 mdi GetActiveChild patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-28 15:23:31 +00:00
Robert Roebling
51148dfb8e Moved AA information to the right place.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-28 01:51:46 +00:00