Václav Slavík
f4e1026261
Fixed timing of malformed animated GIFs in wxHTML (patch #1926825 by Gennady Feller)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 18:55:46 +00:00
Václav Slavík
3bf1d42654
fixed TABs positioning inside <pre> so that tags don't throw it apart
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 21:19:47 +00:00
Václav Slavík
77392f0261
fixed crash in wxHtmlHelpController if the help window is still open
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-13 23:29:27 +00:00
Václav Slavík
e37c9b6c2e
clear statusbar 'Connecting...' message on failure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 22:50:25 +00:00
Vadim Zeitlin
1c786fa848
don't leak wxImageList if wxHF_CONTENTS is not used in wxHtmlHelpWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 23:00:15 +00:00
Václav Slavík
5cb8b7450a
backport of r48962: fixed cellpadding when printing (bug #1795572 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 22:48:25 +00:00
Julian Smart
1a0eb174c3
Removed redundant mnemonic
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 09:12:08 +00:00
Julian Smart
3d1ae41a86
Size of help window tabs reduced to prevent ugly overlap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:30:23 +00:00
Vadim Zeitlin
d1755c19e4
expand the table cells to fill the entire table width (patch 1722794)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 11:19:46 +00:00
Julian Smart
6dbe31d3de
Avoid crash if user aborts the print
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 16:40:46 +00:00
Václav Slavík
ee71546f91
optimized wxHtmlEntitiesParser::Parse() for the common case of no entities in the input
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 06:18:48 +00:00
Julian Smart
84426bea01
Added wxWindowMSW::GetThemedBorderStyle as a helper for 2.8
...
Improved help window borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 12:38:13 +00:00
Václav Slavík
b996028c3b
when selecting text in wxHTML, selecting half a character is enough to select it (patch #1719530 ; this is standard behaviour when selecting text)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:58:20 +00:00
Václav Slavík
887e1ab976
fixed selecting part of word from right to left in wxHTML (patch #1719530 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:31:09 +00:00
Václav Slavík
eeb6a21019
don't crash when using wxHtmlWidgetCell in wxHtmlListBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 12:12:46 +00:00
Václav Slavík
ee42205879
Do not follow HTML links if selecting text (patch #1719577 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 07:17:11 +00:00
Vadim Zeitlin
b4c10903ff
apply the table bg colour between the cells too (patch 1713170) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 23:12:33 +00:00
Vadim Zeitlin
0af3e42a1f
create the spin control with the correct range instead of setting it later which results in unwanted events and a crash (patch 1702847) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:18:13 +00:00
Vadim Zeitlin
95be621f72
call SetEventObject() for wxHtmlLinkEvents we generate [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-04 02:04:23 +00:00
Vadim Zeitlin
7643dd1947
fix memory leak when handling background attribute (patch 1687900) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:14:35 +00:00
Vadim Zeitlin
574a10327f
fix extra indentation in wxHTML_ALIGN_JUSTIFY display (patch 1565375) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:41:37 +00:00
Bryan Petty
e5ab3bbc9c
This commit was manufactured by cvs2svn to create branch
...
'WX_2_8_BRANCH'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 21:46:14 +00:00
Vadim Zeitlin
a1d5a2937a
corrected message about page number overflow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 19:58:48 +00:00
Kevin Ollivier
c70aaa0984
Fix eating of key events (cleaner impl will come after 2.8, right now I want to touch as little common code as possible) and add some extra checks to the Cocoa delegates as they are getting called when the Carbon control isn't in a valid state.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 04:37:32 +00:00
Václav Slavík
325219cb26
fixed: clicking on links in the help view did nothing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:48:16 +00:00
Vadim Zeitlin
0f11c23345
generate wxEVT_COMMAND_TEXT_COPY event in wxHtmlWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:18:45 +00:00
Vadim Zeitlin
630906de0e
renamed OnLinkClicked() event handler to avoid hiding the virtual function with the same name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:20:03 +00:00
Vadim Zeitlin
735a74df5c
search in the index case-insensitively in FindPageByName() if all else fails (replaces patch 1227882)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:29:49 +00:00
Václav Slavík
a1c3cdc4a2
add events API to wxHtmlWindow (patch #1504493 by Francesco Montorsi)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:26:03 +00:00
Václav Slavík
9920ad328b
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:44:41 +00:00
Kevin Ollivier
959d17852d
Don't use the superview when converting.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 20:22:09 +00:00
Michael Wetherell
5c4035d686
Use wxFS_SEEKABLE when opening images since some image handlers need seeking.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 10:14:03 +00:00
Robin Dunn
18fc605924
Pass the config object into the wxHtmlHelpFrame so it has the config
...
info in time to set the position and size of the frame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:16:18 +00:00
Kevin Ollivier
448f8f12b9
Several wxWebKitCtrl enhancements/fixes. Including:
...
- new methods for increasing/decreasing text size, getting selection, getting/setting scroll position, printing, enabling editing, and running JavaScripts on the page.
- added new event (wxWebKitBeforeLoadEvent) for catching, and possibly vetoing, load events before they occur.
- wxWebKitCtrl now fires mouse events for certain events that it was eating before. This improves wxSplitterWindow resizing behavior.
- refactoring of the sizing logic to move the Cocoa view. I've tested this with splitter windows, panels, notebooks and all position correctly with this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 00:40:23 +00:00
Vadim Zeitlin
72045d5768
added wxAnimationCtrl (patch 1570325)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:51:07 +00:00
Vadim Zeitlin
a863333e37
fixed off by 2 error in HasPage() (patch 1562871)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 22:58:23 +00:00
Vadim Zeitlin
1d203ed837
ensure that -2 font size is readable, it could be too small after last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 18:18:13 +00:00
Vadim Zeitlin
d3c7fc996a
mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Vadim Zeitlin
4d70ab089f
don't convert title to current encoding if input encoding is wxFONTENCODING_DEFAULT (this shouldn't be necessary and provokes an assert from wxCSConv ctor)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 23:36:06 +00:00
Włodzimierz Skiba
02761f6cd4
Include wx/module.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 19:31:43 +00:00
Václav Slavík
198d7c6cb9
fixed crash in <sub/sup> handling (bug #1545152 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 21:08:39 +00:00
Vadim Zeitlin
ba804ab2d4
don't hardcode HTML font sizes, this makes wxHtmlWindow look really ugly when default font size is not 12, base the default font sizes on wxNORMAL_FONT instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 16:52:58 +00:00
Václav Slavík
86766dfdad
fixed HTML colours parsing after patch #1473731 ('wxColourBase and wxString <-> wxColour implementation') broke it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 19:07:15 +00:00
Vadim Zeitlin
cc87fbed40
removed wxHtmlWindow::m_Style which duplicated wxWindow::m_windowStyle and prevented changeing wxHW_XXX window style after Create() from working
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 15:46:49 +00:00
Václav Slavík
63e819f298
added wxEVT_MOUSE_CAPTURE_LOST event and code for correctly handling capture loss (bug #1153662 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 09:27:54 +00:00
Vadim Zeitlin
766571a703
add @DATE@, @TIME@ and @TITLE@ macros to HTML printing (extended/modified patch 1528679)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 20:45:13 +00:00
Włodzimierz Skiba
28f92d74ee
Include wx/dataobj.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 12:57:16 +00:00
Włodzimierz Skiba
80d9952564
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 19:49:08 +00:00
Włodzimierz Skiba
155ecd4c42
Include wx/image.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 19:02:54 +00:00
Stefan Neis
6a17b868de
Fixed typos in comments (patch #1515724 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 21:40:38 +00:00