Commit Graph

288 Commits

Author SHA1 Message Date
Václav Slavík
47b378bd88 removed extra semicolons (patch #1700459; fixes compilation with gcc's -pedantic flag)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:58:37 +00:00
Vadim Zeitlin
4609ee2ef8 fix the problem with parsing HTML comments (closes bug 1116708; based on patch 1168583)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 21:02:03 +00:00
Vadim Zeitlin
c1dc9f8394 removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:35:04 +00:00
Julian Smart
20c81bed84 Fixed premature exit of helpview sample and utility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 19:48:43 +00:00
Paul Cornett
291324e376 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 08:56:57 +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
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
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
Włodzimierz Skiba
1b88201ff5 Headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:44:52 +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
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
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
Włodzimierz Skiba
c5197da440 Missing include for wxCocoa build at Tinderbox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 06:47:13 +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
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
Paul Cornett
24c2029f69 parenthesize macro replacement containing operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 06:47:11 +00:00
Václav Slavík
968d6f46c8 added comment explaining how to replace calls to deprecated method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 20:47:48 +00:00
Vadim Zeitlin
432ea998aa added virtual dtor to wxHtmlWindowMouseHelper to avoid gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:41:15 +00:00
Václav Slavík
31297dbbd0 use public inheritance when deriving from wxHtmlWindowMouseHelper so that overriden methods can call base versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 20:43:06 +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
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
171a1afede made ShouldPreventAppExit() public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 00:47:36 +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
Václav Slavík
e7feeafa56 added ParseInnerSource() to make <pre>-like parsing easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-03 19:34:21 +00:00
Włodzimierz Skiba
548b537752 Don't send dummy wxCommandEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:41:27 +00:00
Václav Slavík
73de5077ce preserve window's content when changing the fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:31:49 +00:00
Vadim Zeitlin
bb60e16c8f removed stray #endif added in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 17:17:08 +00:00
Vadim Zeitlin
33f81fc7d0 use wxClockMillis_t to fix wxUSE_LONGLONG=0 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:56:40 +00:00
Mart Raudsepp
939197fe47 Do not reintroduce #pragma interface/implementation for html/helpdlg and mediactrl. These pragmas are an abomination
from hell.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 04:53:56 +00:00
Vadim Zeitlin
6f02a879ed make access specifiers for the virtual functions match their access in the base class (patch 1400131)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 21:47:09 +00:00
Julian Smart
33a8a62852 Fixed duplicate guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 22:35:13 +00:00
Vadim Zeitlin
90c4e038d0 declare wxEVT_COMMAND_HTMLWINDOW_URL_CLICKED with correct DLL decl spec (fixes DLL build warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-18 15:30:20 +00:00
Jouk Jansen
76241d0f75 Committing in .
1 ; too many

 Modified Files:
 	wxWidgets/include/wx/html/helpwnd.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-11 13:26:42 +00:00
Julian Smart
3ac95ecd61 Corrected accessor names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-11 09:08:31 +00:00
Julian Smart
4e1ed07b52 Typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-11 09:00:33 +00:00
Julian Smart
f3e156efb0 Renamed helpwin.h/cpp to helpwnd.h/cpp to avoid clash
Added back GetFrame/GetDialog for compatibility and consistency


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-11 08:59:17 +00:00
Julian Smart
13344b2557 Made the HTML command ids visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 17:06:05 +00:00
Julian Smart
3755cfa64d Moved wxHtmlHelpFrame functionality to wxHtmlHelpWindow to allow
for embedded and modal help


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 13:42:57 +00:00
Václav Slavík
3c115835b3 added support for <sub> and <sup> to wxHTML (based on patch #1263152)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-27 00:00:39 +00:00
Václav Slavík
04f109ec63 made wxHtmlWindow::SetPage virtual so that the behaviour can be customized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-09 12:34:29 +00:00
Václav Slavík
3bc7a423ad fixed layout of tables that are first element on a page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-17 23:37:27 +00:00
Václav Slavík
97eac136f3 reduced code duplication in wxHtmlWinParser::AddText (no real change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-17 23:35:36 +00:00
Julian Smart
3db5226517 Added parent window parameter to wxHelpController constructor
and added SetParentWindow/GetParentWindow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 09:32:10 +00:00
Mattia Barbon
dee1a63ff5 Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
Changed default for WXWIN_COMPATIBILITY_2_4 to 0.
  Added WXWIN_COMPATIBILITY_2_6 (defaults to 1).
  Ran build/update-setup-h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 15:48:42 +00:00
Vadim Zeitlin
df6ddd9730 fix after adding wxFORCE_LINK_MODULE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 18:46:14 +00:00
Vadim Zeitlin
6cf2fb76fe added wxFORCE_LINK_MODULE public macro which can now be used outside of wxHTML too; modified it to not provoke icc warnings when used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 18:09:26 +00:00
Vadim Zeitlin
fbfb8bcc3f added missing consts and pass objects by const reference instead of by value (patch 1205869)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00