Commit Graph

51 Commits

Author SHA1 Message Date
Stefan Csomor
41749c76d8 adapting to new raw_control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-19 15:09:02 +00:00
Stefan Csomor
ee44283198 adjust init to standard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-16 12:17:59 +00:00
Dimitri Schoolwerth
80fdcdb90e No changes, synchronised source names that appear commented at the top of files with the actual path to the files.
Fixed commented names (path, filename, and extension) of files in include/ and src/. Prepended the names in src/ with "src/" everywhere, while starting those in include/wx/ with "wx/".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-20 00:14:35 +00:00
Stefan Csomor
d15694e8ca going private with userpane info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-19 08:36:23 +00:00
Stefan Csomor
2275632282 going private for m_peer to give a foundation for better encapsulation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-18 14:20:12 +00:00
Stefan Csomor
e8fd252ef8 always skip OnSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-16 10:57:08 +00:00
Vadim Zeitlin
062aa562d0 Remove stray #pragma implementation.
This #pragma is obsolete and shouldn't be used any more (if it ever had to
be).

See #12927.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-19 14:16:52 +00:00
Vadim Zeitlin
4267872212 Fix crash in wxWebKitCtrl when using JavaScript.
Ignore the unknown types of the script result, in particular don't crash
trying to dereference an uninitialized pointer if the script didn't return
anything.

Closes #12361.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-29 13:46:24 +00:00
Vadim Zeitlin
233f573883 Fix file paths in the header comments.
Consistently use only "wx/foo.h" instead of "include/wx/foo.h" ("include" is
always implicit anyhow).

Also use "src/osx" instead of "src/mac" for the files in this directory.

See #12165.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:58 +00:00
Kevin Ollivier
eebb8902d9 Use wxWebKitCtrlNameStr to adhere to the convention used by other wx classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-11 02:12:56 +00:00
Stefan Csomor
14ca15f12b first stab at having webkit under osx_cocoa working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 18:22:04 +00:00
Vadim Zeitlin
9b11752c4f require semicolon after wxDECLARE/DEFINE_EVENT() (closes #10456)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 18:59:25 +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
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
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
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
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
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
Stefan Csomor
d0d7f20728 fix adding non owned window for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 13:00:31 +00:00
Vadim Zeitlin
8a088306dd more unused parameters warnings (should have been part of r49659)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:33:54 +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
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
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
Kevin Ollivier
2d837688be Fixed incorrect get page source check around SetPageSource.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 20:53:37 +00:00
Stefan Csomor
44f9d0aa55 adjusting to SetLabel migration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 17:05:04 +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
Vadim Zeitlin
daef468900 deTABified; removed unused variable provoking a gcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-07 16:06:49 +00:00
Stefan Csomor
fd04970ab4 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-10 06:30:03 +00:00
Stefan Csomor
b384c0fb4c reordering for CW compiles, setting control to opaque because of incorrect erases under 10.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-30 09:11:36 +00:00
Kevin Ollivier
14753ffea2 Tiger compatibility fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-27 15:41:06 +00:00
Kevin Ollivier
216e968a02 Fixed an issue with potential invalid ID passed to Create, and once again updated the logic for browser sizing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-24 03:08:37 +00:00
Kevin Ollivier
b4fd164d9c Adding accessor methods for URL and Title, and another revision of the window sizing hack. Tested this one with wxWidgets sample, a notebook/splitter sample, and Documancer, a wxPython app, all with correct results.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 05:12:41 +00:00
Stefan Csomor
637013ebf4 adding peer back to wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 16:08:34 +00:00
Włodzimierz Skiba
9548f38086 Minor decorations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-08 13:02:34 +00:00
Kevin Ollivier
fe3fc02e1c Fixing notebook 'flashing' bug where the WebView would flash while not visible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-24 06:53:59 +00:00
Kevin Ollivier
39104bc1bd Greatly improved wxWebKitCtrl positioning logic to accomodate most situations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-23 02:03:26 +00:00
Kevin Ollivier
8f3b30d57a Fixes to remove compile warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 18:03:28 +00:00
Stefan Csomor
f8405d6e6f adaptions to m_peer methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-11 17:49:51 +00:00
Kevin Ollivier
8de5b24e54 Fixed to work with the new wxMacControl system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 20:08:12 +00:00
Julian Smart
948f6c6e4c Corrected position of wxUSE_WEBKIT test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 20:30:20 +00:00
Stefan Csomor
72213209b7 adaptions for m_peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 17:56:51 +00:00
Kevin Ollivier
5b8f917c30 Making wxUSE_WEBKIT for optionally building wxWebKitCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 16:07:28 +00:00
Kevin Ollivier
be98622c86 Yet more fixes for wxNotebook compatibility...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 00:48:55 +00:00
Kevin Ollivier
e69d17754d wxWebKitCtrl now properly detects a wxNotebook anywhere in the hierarchy.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 00:26:57 +00:00
Kevin Ollivier
14f21d6d89 Fixes for wxWebKitCtrl to work with wxNotebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 02:53:49 +00:00
Kevin Ollivier
fba8e95e92 wxWebKikStateChangedEvent should now return proper values for GetURL(). Also updated the sample to update the text URL when a link is clicked.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 04:11:43 +00:00
Kevin Ollivier
005198fa7d wxWebKit now properly updates after a resize event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 05:54:28 +00:00
Robin Dunn
3ca7ba7403 Use correct #if for interface/implementation pragma.
detabified


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-24 21:50:00 +00:00
Kevin Ollivier
7eb8c6ee3e Fixes for Unicode build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-24 21:00:07 +00:00