Dimitri Schoolwerth
5de65c6930
Declaration of CopySelection is bool instead of void.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 19:57:34 +00:00
Vadim Zeitlin
8feaa81f86
don't test whether m_selection is NULL both before calling CopySelection() and inside it; one time is enough
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-25 23:52:48 +00:00
Vadim Zeitlin
689c48297e
fixed memory leak (m_selection wasn't deleted)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-25 23:50:10 +00:00
Stefan Csomor
459f2add90
macro naming changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 12:26:52 +00:00
Stefan Csomor
786a2425fb
extended RTTI support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 06:37:30 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Vadim Zeitlin
fc7a2a602b
undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 00:24:07 +00:00
Vadim Zeitlin
d80096a2dd
fixed a crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 14:07:01 +00:00
Mattia Barbon
222ed1d678
STL-ification patch for wxMSW and wxGTK.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 19:55:12 +00:00
Julian Smart
5180055b69
OnIdle -> OnInternalIdle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 17:15:09 +00:00
Václav Slavík
036933194c
fixes to wxHTML selection code: corrected mouse navigation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:11:59 +00:00
Václav Slavík
4460b6c48b
fixed compilation of multilib dll
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:18:11 +00:00
Václav Slavík
748418c02b
fixed misbehaving selection on some words
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-15 22:40:12 +00:00
Vadim Zeitlin
d659d703ef
made CopySelection() always available (otherwise it wouldn't compile when wxUSE_CLIPBOARD == 0); copy double/triple clicked selection to primary X11 clipboard under Unix as well; minor code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:34:44 +00:00
Václav Slavík
77bae5e228
use 'I' cursor when over text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 23:31:21 +00:00
David Elliott
6ce5198539
Place m_lastDoubleClick initialization inside existing #if wxUSE_CLIPBOARD
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 02:20:20 +00:00
Václav Slavík
0994d9683e
added line selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 20:30:56 +00:00
Mattia Barbon
2b2309a466
Add missing header for wxMotif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 18:11:45 +00:00
Václav Slavík
31eefb998d
doubleclick selects word
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 21:42:34 +00:00
Václav Slavík
1338c59a02
added selecting-while-dragging
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 18:17:04 +00:00
Václav Slavík
f30e67dbea
new rendering customization API for Vadim
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 23:04:59 +00:00
Václav Slavík
5a1597e9ef
subcell selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 13:48:59 +00:00
Václav Slavík
e377412473
added copying selection to clipboard; fixes to selection making
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 21:21:23 +00:00
Václav Slavík
73bab6b44d
attempt to fix first click problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 23:17:08 +00:00
Václav Slavík
adf2eb2d34
more work on text selection: selecting should work now, but there's no clipboard interaction yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 22:19:15 +00:00
Václav Slavík
31d8b4ad24
react on mouse up, not mouse down
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 00:10:06 +00:00
Václav Slavík
3033131651
oops, commited debugging code by mistake
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 21:51:17 +00:00
Václav Slavík
36c4ff4d65
preparing wxHtmlWindow for text selection (highlighting works, mouse input and clipboard does not)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 21:48:50 +00:00
Václav Slavík
eeb029a965
fix patch #693600
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:21:02 +00:00
Václav Slavík
7cb9cf8992
1. added wxHtmlWindow::LoadFile
...
2. interpret LoadPage's argument as filename if it fails as URL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 23:19:46 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Robin Dunn
790dbce337
wxHtmlWindow now grabs the focus when clicked on. (Didn't all windows
...
do this automatically in the past?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:25:34 +00:00
Václav Slavík
05f9197a34
wxHtmlHistoryItem needs not be wxObject
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 23:03:09 +00:00
Václav Slavík
6cc4e6b81a
new wxHtmlWindow::OnOpeningURL API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:03:10 +00:00
Václav Slavík
04db5c3f8f
implemented URLs blocking in wxHtmlWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 23:23:15 +00:00
Václav Slavík
7acfb99907
removed wxYield from wxHtmlWindow (seems to work w/o it and yielding caused reentrancy problems)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 00:22:17 +00:00
Václav Slavík
1ccabb813a
use wxBusyCursor in wxHtmlWindow instead of SetCursor (the next step is figuring out if removing wxYield from LoadPage will break anything)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 00:02:32 +00:00
Václav Slavík
4f41713093
added two-step creation of wxHtmlWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 18:13:53 +00:00
Václav Slavík
b835e9bf49
optimalization of wxHtmlWindow painting (used to repaint areas invalidated when scrolling 3+ times)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 23:54:16 +00:00
Kendall Bennett
19193a2c85
Mutiple updates from SciTech for wxWindows including the following:
...
1. Updates to HTML applet classes in client side include syntax
2. Updates to wxUniversal for OS/2
3. Updates for better palette management on Windows
4. Misc other fixes and changes to fix build system for Watcom 11.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 22:25:56 +00:00
Václav Slavík
3902989824
added wxHtmlWindow::AppendToPage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:20:05 +00:00
Václav Slavík
0cecad314c
fixed problems with HTML printing w/o using wxHtmlWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-19 22:44:17 +00:00
Václav Slavík
d168485fcf
comment clarification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 20:07:13 +00:00
Vadim Zeitlin
f6010d8fad
implemented and documented wxHtmlWindow::OnCellMouseHover() and OnCellClick()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 21:19:23 +00:00
Vadim Zeitlin
0cb9cfb22f
send right click events for the URLs too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 13:51:20 +00:00
Vadim Zeitlin
b54e41c529
1. fixed typo ('&' instead of '|') in wxNotebook
...
2. changed wxTC_MULTILINE to be equal to wxNB_MULTILINE and != 0
3. much more efficient selection handling in virtual wxListCtrl,
we can now select 1000000 items without problems
4. kbd/mouse selection (ctrl/shift handling) fixed in wxListCtrl
5. added wxSortedArray::IndexForInsert() and AddAt(), remove Remove(size_t),
use RemoveAt() instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 22:42:35 +00:00
Vadim Zeitlin
04dbb6467b
removed/replaced include 'wx/wx.h'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 18:48:48 +00:00
Václav Slavík
ee19c32471
more intelligent behaviour of wxHtmlWindow history: does not remember same page several times anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 19:44:56 +00:00
Vadim Zeitlin
e421922f90
MSW compilation fixes - widgets sample runs!
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 00:27:24 +00:00
Václav Slavík
73348d0997
forgot to check in wxHtmlProcessor::IsEnabled test in wxHtmlWindow::SetPage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 22:27:09 +00:00