Robin Dunn
b8acf11e74
A patch adding wxHTMLDataObject which can be used for handling the standard platform formats for transfering HTML formatted text.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-30 19:21:42 +00:00
Vadim Zeitlin
2415cf6725
Remove support for MetroWerks CodeWarrior compiler.
...
This compiler doesn't exist any more and was probably unsupported even in 2.8,
let alone 2.9, so remove all the __MWERKS__ tests to simplify things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-05 18:40:11 +00:00
Dimitri Schoolwerth
a1b806b982
Replaced Ok() occurrences with IsOk() throughout trunk.
...
Additionally renamed wxOSX' private wxNativePrinterDC::Ok() function to IsOk().
Didn't deprecate the various Ok() functions: given the amount of changes already introduced in 3.0 a trivial one like this seems more suitable for after 3.0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-03 16:29:04 +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
Vadim Zeitlin
791f7574a0
Fix buffer overflow in wxURLDataObject.
...
The code in CFSTR_SHELLURLDataObject::GetDataHere() was confused by
ANSI/Unicode and ended up overwriting output buffer because of it. Moreover,
this function was actually completely unnecessary as the base class version
did work correctly.
Closes #11102 (thanks to Tim Kosse).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-30 17:25:42 +00:00
Vadim Zeitlin
cd67a80a9a
Fix off by one errors in wxURLDataObject.
...
wxTextDataObject::SetData() adds the terminating NUL automatically so there is
no need to add it to the length when calling it from wxURLDataObject::SetURL().
This change is necessary to fix the unit test in the upcoming fix for #11102 .
See #11102 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-30 17:25:28 +00:00
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
a523395dfa
pass size in bytes, not wchars, to SetData() in wxURLDataObject::SetURL() (fixes wxURLDataObject after r59391)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:30:28 +00:00
Vadim Zeitlin
4b6a582bef
replace more __WXDEBUG__ occurrences with wxDEBUG_LEVEL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 12:53:48 +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
Vadim Zeitlin
5c33522fca
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 02:39:52 +00:00
Vadim Zeitlin
b9a5faed6a
don't set CF_TEXT data in wxURLDataObject in Unicode build, this results in an assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-30 12:50:39 +00:00
Vadim Zeitlin
cb626df225
fix unused parameter warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:00:27 +00:00
Vadim Zeitlin
abb88ef36b
remove the drag-and-drop compatibility hack for extracting the embedded size of the object from the beginning of data itself: this fixes bug 1791459 for the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 18:37:00 +00:00
Vadim Zeitlin
0766270090
fix file names format in wxFileDataObject::GetDataHere() in Unicode build (replaces patch 1785191)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-08 11:37:01 +00:00
Vadim Zeitlin
ab250e5c47
don't pass garbage to SetData() in wxURLDataObject::SetURL()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-08 00:32:56 +00:00
Václav Slavík
e0a050e347
more changes to make wx compile without implicit wxString->char* conversion (for STL build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 07:44:45 +00:00
Václav Slavík
a1eb65c246
use wxString, not wxChar*, in wxDataFormat ctor and SetId() method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 22:02:19 +00:00
Václav Slavík
193d0c9310
PCH-less compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 21:32:40 +00:00
Robin Dunn
5712281c5d
Return an empty string from wxDataFormat::GetId if there was an error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:58:05 +00:00
Julian Smart
219b657fbe
Wine fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 15:54:06 +00:00
Vadim Zeitlin
dddf9e14ed
compilation fix for wxUSE_UNICODE_MSLU && !WXWIN_COMPATIBILITY_2_6 (bug 1587408)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:11:31 +00:00
Robert Roebling
daac16bba0
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:57:18 +00:00
Vadim Zeitlin
150194b9a7
don't use Unicode filenames under Win9x, even with MSLU (heavily modified patch 1585672)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:59:03 +00:00
Michael Wetherell
24aab8e81a
Hacks for wine.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 16:36:47 +00:00
Vadim Zeitlin
0463eea95d
allow passing URL to wxURLDataObject ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 13:38:45 +00:00
Michael Wetherell
51d0522672
Some compilers don't define SIZE_T (e.g. dmc) so use size_t instead.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 11:00:45 +00:00
Vadim Zeitlin
a8e24848f6
don't put the size of the data with the data itself by default (but allow it for compatibility with previous versions) (modified patch 1288868)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 03:45:14 +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
Michael Wetherell
4a10ea8b13
Warning fixes for win64
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 22:08:05 +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
0c0d1521c0
Helpers in disabling warnings for unused params.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 13:39:03 +00:00
Julian Smart
3103e8a97e
Typo correction patch [ 1208110 ] Lots of typo corrections
...
Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Vadim Zeitlin
9205cb3f26
unused param warning with wxUSE_OLE=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 18:54:53 +00:00
Włodzimierz Skiba
afd23c224a
Removed obsolete (Open) Watcom conditions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-20 13:24:48 +00:00
Włodzimierz Skiba
17a6a2e097
WinCE warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 08:24:04 +00:00
Robin Dunn
b51320ce9d
Take character size into account when calculating buffer size for
...
wxFileDataObject. (Fixes aborts from NTDLL.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 00:46:47 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Vadim Zeitlin
bf5d9fa4ea
fixed wxFileDataObject in Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 18:52:43 +00:00
Vadim Zeitlin
be69f971c4
enable wxDIB for Windows CE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:57:36 +00:00
Václav Slavík
569f027b89
WinCE compilation fixes (is this correct?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 16:12:57 +00:00
Vadim Zeitlin
461dae941d
fixes for compiling with more stuff disabled in setup.h (patch 889211)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 14:26:00 +00:00
Julian Smart
7dbfc030a0
Applied patch [ 804570 ] hidden function in src/msw/ole/dataobj.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-12 16:10:00 +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
2eb10e2a17
more warning fixes; removed references to wxToolBarBase from wxRTTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:42:41 +00:00
Mattia Barbon
de564874d6
Use wxStringBuffer[Length] instead of explicit calls to
...
wxString::get/UngetWriteBuffer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 09:41:26 +00:00
Julian Smart
4cb88a72da
More WinCE mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 23:10:35 +00:00
Julian Smart
4676948b68
More WinCE mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 21:50:07 +00:00
Julian Smart
fda7962d02
Applied patch [ 761138 ] Replaces references to wxT("") and _T("") with wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 08:36:14 +00:00