Commit Graph

46 Commits

Author SHA1 Message Date
Vadim Zeitlin
9a83f86094 Globally replace _T() with wxT().
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Vadim Zeitlin
03a187ccae wxHtmlWindow background drawing fixes for OS X and optimizations
1. Avoid crashes under OS X due to attempts to copy window contents to the
   backing store bitmap: this doesn't work under OS X so avoid it by always
   painting the background from OnPaint() itself, while still generating the
   erase background events for compatibility.

2. Don't double buffer wxHtmlWindow drawing if the window is already double
   buffered.

3. Don't allocate backing store bitmap on the heap, this is useless as bitmaps
   are already pointer-lile -- so just use invalid bitmap instead of NULL
   bitmap pointer.

4. Update the html/test sample to show the effects of custom erase background
   handler in wxHtmlWindow (it overrides the background bitmap painting).



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-18 17:32:20 +00:00
Vadim Zeitlin
63b459df53 add timing of the page loading (see #9972)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 13:00:42 +00:00
Vadim Zeitlin
c0c133e13b add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 11:45:59 +00:00
Julian Smart
3214ac5ad1 Open and Close clipboard properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 18:44:43 +00:00
Vadim Zeitlin
45e6e6f8ab call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:34:18 +00:00
Paul Cornett
34e2020099 don't use %d to print pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:47:05 +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
Robert Roebling
17ede0b11d [ 1587059 ] wxLaunchDefaultBrowser fix for KDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:46:44 +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
43056e6ed5 allow opening .html files, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-26 23:29:17 +00:00
Julian Smart
9dbadebe92 Should use LoadFile for file, not LoadPage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 12:24:25 +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
Włodzimierz Skiba
d83c04e6a5 Launch default browser.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-05 18:07:00 +00:00
Włodzimierz Skiba
71307412f5 Missing wxUSE_... flags and source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 17:47:11 +00:00
Włodzimierz Skiba
11fdee427e Wrong #pragma interface/implementation warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 19:10:46 +00:00
Julian Smart
18922659eb Use sample icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 09:44:42 +00:00
Włodzimierz Skiba
4bfa318965 Send full url to wxHtmlWindow::OnOpeningURL validation (and therefore use wxURL to not duplicate code). Present it in statusbar of samples/html/test application.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 20:32:43 +00:00
Włodzimierz Skiba
8520f1374c Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 15:36:01 +00:00
Julian Smart
be5a51fb59 More name changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Dimitri Schoolwerth
3f6bd7c1c5 wxCleanup; Added accelerators for navigation (Alt+left, Alt+right).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 00:24:06 +00:00
Václav Slavík
903972f999 added wxHtmlWindow::LoadFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 23:20:00 +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
Gilles Depeyrot
788233da90 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:31:03 +00:00
Václav Slavík
1914413921 removed tracing from html sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 11:27:48 +00:00
Gilles Depeyrot
67547666c9 use "..." instead of <...> for wx includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 17:41:56 +00:00
Václav Slavík
954cc8d2f2 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 18:13:31 +00:00
Julian Smart
bbb8f29b4a Applied patch #484508 (mostly sample warnings).
I've no idea why CVS thinks that the .mcp files have been changed - they haven't.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 12:58:44 +00:00
George Tasker
92a19c2e77 All occurances of #include <wx/wxprec.h> changed to #include "wx/wxprec.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 13:33:34 +00:00
Mattia Barbon
4693b20c75 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 20:21:44 +00:00
Václav Slavík
40091824f1 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 00:11:45 +00:00
Václav Slavík
27523ad052 added tracing of strconv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 22:56:24 +00:00
Václav Slavík
6bedf83dec removed debug printfs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 23:01:54 +00:00
Václav Slavík
3e729cbe15 added wxHtmlProcessor test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 22:26:39 +00:00
Robert Roebling
b6fa52db66 Some make corrections for HP and related,
Changed refresh order so that window-less widgets
    don't get overdrawn anymore,
  Prevent GTK from filtering our supposedly unneeded
    expose events,
  Block all expose calls if a resize is requested and
    do a full redraw then, thus removing flicker and
    behaving like wxMSW,
  Moved some doubled expose and draw code from GtkPizza
    to the respective callbacks in window.cpp,
  Set idle priority to a higher value (which should
    indicate a lower priority if I interpret glib.h
    correctly) but the desired side-effect didn't
    really show up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 13:24:34 +00:00
Vadim Zeitlin
1845dd9923 small compilation fix for !wxUSE_SOCKETS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 20:53:14 +00:00
Václav Slavík
2bdebb91be Added Open HTML page to menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:39 +00:00
Václav Slavík
5612e5243e wxConfig is used together with wxConfig::Set now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:18:53 +00:00
Václav Slavík
8b260fbe33 removed 2nd frame from html test sample; test sample now shows DL,DT,DD support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 12:48:01 +00:00
Václav Slavík
f0dc00f39c fixed stupid typo I did a minute ago
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:28:24 +00:00
Václav Slavík
bd6882eed7 modified samples/html/test so that it loads inet fs handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:25:06 +00:00
Václav Slavík
2083616e16 fixed bug with 2 frames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 20:21:08 +00:00
Václav Slavík
b714136483 changed to use 2 html windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 18:02:19 +00:00
Guillermo Rodriguez Garcia
228b910aea wxUSE_GIF instead of wxUSE_LIBGIF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:20:37 +00:00
Guilhem Lavaux
aa6d970619 Updated wxSocket documentation
Renamed GSOCK_TIMEOUT to GSOCK_TIMEDOUT
Added wxURL::ConvertFromURI
Use wxUSE_LIBGIF in imaggif.cpp and samples/html/test/test.cpp
Full implementation of "timeout"s in gsocket.c
Non-blocking WaitConnection()/Connect() are supported now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 10:23:22 +00:00
Václav Slavík
5526e819ec *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-07 22:04:58 +00:00