Vadim Zeitlin
e92b9e696c
remove unused function and out of date comments (we don't use bsearch() any more)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 18:52:08 +00:00
Francesco Montorsi
004867dbc5
Change in wxWindow the access specifier of the wxEvtHandler event processing and queuing functions
...
from public to protected. Adapt wxWidgets code and wxWidgets samples to always use wxWindow::GetEventHandler()
when calling such functions on a wxWindow rather than directly using wxWindow::ProcessEvent, etc.
This enables correct event dispatching to the event handlers which have been pushed (with PushEventHandler) on the
windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 11:58:39 +00:00
Francesco Montorsi
7d7b3f69f2
do not export private symbols in wx shared libraries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-24 13:40:46 +00:00
Robert Roebling
4e0d42061e
Optical improvements under OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 23:35:18 +00:00
Robert Roebling
08f744fb3b
Correct conversion from text file to charset (which is read in that text file)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 22:19:46 +00:00
Robert Roebling
8680ee061f
Don't attempt to convert non-ascii strings to filenames
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 22:18:29 +00:00
Vadim Zeitlin
d3b9f782ef
don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:55:27 +00:00
Francesco Montorsi
b81e450659
always properly check if SeekI() calls succeded; this makes CanRead() functions of animation decoders return false for non-seekable streams (which is a wanted side-effect)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 19:16:08 +00:00
Vadim Zeitlin
3c77890141
add more flexible and safer template Connect() overloads ( #10000 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 14:26:13 +00:00
Stefan Csomor
d2fa18d3a1
guard against NULL win (happens during debug startup of RTTI, Clone test)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 14:02:30 +00:00
Francesco Montorsi
9690b00654
always remember to test IsOk() after using wxFileInputStream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 18:26:35 +00:00
Francesco Montorsi
bd365871aa
s/wxSplitPath/wxFileName::SplitPath
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 01:47:47 +00:00
Francesco Montorsi
991fca2485
remove old file not compiled/used anymore since at least 6 years
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 14:05:25 +00:00
Kevin Ollivier
c9f9deab81
Forward port event handler fixes to trunk.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 04:10:31 +00:00
Václav Slavík
55ad60c94c
wxHTML: don't include extra whitespace in table cells
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 07:24:36 +00:00
Václav Slavík
9e570f836b
fixed interpretation of line breaks in <pre> to conform to the spec ( #10120 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 10:04:36 +00:00
Vadim Zeitlin
90523bdb22
fix a couple of typos pointed out by a translator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-23 14:53:01 +00:00
Vadim Zeitlin
e822d1bd5f
fix more Borland release build warnings about unused variable/code without effect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 10:30:49 +00:00
Václav Slavík
7f8f381c0f
fixed wxHtmlWindow::SelectionToText() to correctly insert newlines after single-cell paragraphs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 15:43:45 +00:00
Václav Slavík
9f330429af
get help frame's icon using wxART_FRAME_ICON wxArtClient hint, not wxART_HELP_BROWSER
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 20:17:55 +00:00
Vadim Zeitlin
7929902d65
no real changes, just fixed all occurences of 'occurence' typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 12:10:58 +00:00
Václav Slavík
c3485a4eef
fixed pagebreaks computation in tables ( #9935 , patch by D.J.Stauffer)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 10:22:53 +00:00
Václav Slavík
c0213e2ace
fixed memory corruption in wxHTML when parsing '&;' in the markup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 14:00:07 +00:00
Václav Slavík
26fba7b2a3
apply Stefan's fix for wxHtmlDCRenderer clipping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-12 16:03:17 +00:00
Vadim Zeitlin
76de2296f1
fix warning about possible uninitialized variable with VC9 (part of #9803 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:19:22 +00:00
Stefan Csomor
f94a77989a
new SDK has frame CGRect return param
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 19:25:52 +00:00
Paul Cornett
bbe28fbb83
mark long-deprecated methods as such, and don't use them in wx code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 18:23:01 +00:00
Julian Smart
f31f319f0a
Fixed bug whereby sash would disappear under left hand pane
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 10:55:46 +00:00
Václav Slavík
9f7e7edb78
fixed SetUserScale() calls to use correct scale on Y axis
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 08:10:06 +00:00
Julian Smart
6e47d216cd
Small improvement in HTML help options dialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 12:53:05 +00:00
Stefan Csomor
e60a391833
fixing file paths after renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 06:45:46 +00:00
Václav Slavík
82a4610423
PCH-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 15:05:52 +00:00
Václav Slavík
37146d3352
added wxHtmlWindow::SetRelatedStatusBar(wxStatusBar*) (patch #9235 by troelsk)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 09:38:37 +00:00
Václav Slavík
7258d99573
Changed wxHTML default font size for printing to be 12pt regardless
...
of the platform; this font shouldn't depend on toolkit's default
GUI font (introduced in 2.8, now reverting to pre-2.8 correct
behaviour).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 22:34:09 +00:00
Vadim Zeitlin
e4e487e2a5
no real changes, just simplify LoadPage() to make it more readable and less redundant
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 13:25:50 +00:00
Vadim Zeitlin
179a30e2f8
check that the argument is not empty in wxHtmlWindow::LoadPage() to avoid crashing if it is
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 19:49:53 +00:00
Robin Dunn
fa34bc5331
Add wxWebKitNewWindowEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 06:33:46 +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
Václav Slavík
5096757411
fixed handling in wxHtmlWinParser, broken by TAB-handling changes (bug #1957041 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 10:52:30 +00:00
Václav Slavík
e388dc214c
check tables width parameter for invalid values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-04 09:36:33 +00:00
Václav Slavík
7bf6f523e7
fixed incorrect handling of end iterator in HtmlizeLinebreaks() introduced in r53298 (patch #1956966 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-04 08:45:43 +00:00
Vadim Zeitlin
3f6901ad7f
don't return junk from wxHtmlTag::GetParamAsInt() if the parameter is not an integer (this resulted in practically infinite loop in table parsing code for bad HTML with incorrect colspan values)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 00:39:44 +00:00
Jouk Jansen
145c0c86ce
Update OpenVMS compile support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 05:53:03 +00:00
Václav Slavík
f7b64fde9b
use iterators in HtmlizeLinebreaks()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-21 20:06:50 +00:00
Václav Slavík
6a603a10e7
preserve TAB characters when copying HTML <pre> content to clipboard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-21 10:46:30 +00:00
Václav Slavík
f79386c61a
source files are not executable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-19 16:14:42 +00:00
Vadim Zeitlin
63482fd5e8
add possibility to specify the conversion to use in wxStringOutputStream; use it instead of reimplementing the same logic erroneously in wxHTML (bug 1711476)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-15 12:22:41 +00:00
Václav Slavík
5540b06b00
fixed incorrect layout width caching in wxHtmlContainerCell (patch #1931479 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 12:28:11 +00:00
Václav Slavík
f89940e6d0
Fixed timing of malformed animated GIFs in wxHTML (patch #1926825 by Gennady Feller)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 18:57:26 +00:00
Václav Slavík
ad20c567c2
be tolerant of XHTML self-closing tags when parsing the input in wxHTML (patch by kulick@hildensia.de)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-29 15:01:15 +00:00