Commit Graph

10432 Commits

Author SHA1 Message Date
Julian Smart
319cc9f6cb Added context menu accessors; context menu now created in constructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-29 06:45:04 +00:00
Julian Smart
dff63abaf1 Moved WinPrinter from private.h to printdlg.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 16:02:08 +00:00
Julian Smart
05c0fe0df0 Applied #10560 (Missing wxUSE_CONFIG checks.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 10:02:42 +00:00
Julian Smart
d8813f69c8 Applied #10362: wxMac's wxSound doesn't work
By Cyball


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 08:12:24 +00:00
Julian Smart
23899690d3 Applied #10857 (wxGenericListCtrl does not recalculate positions on Thaw nor Update, preventing Refresh)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-26 17:47:23 +00:00
Julian Smart
6a24c14934 Compile correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 23:17:43 +00:00
Julian Smart
f3fc0413d6 Applied #9011: Native wxListCtrl::HitTest on OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 09:06:07 +00:00
Julian Smart
ee18a103b3 Applied patch #11078 - DEVMODE creation in wxWindowsPrintNativeData::TransferFrom plus SetQuality to dpi
by Martin Perktold


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 09:52:26 +00:00
Julian Smart
8932702b0c Added wxRICHTEXT_HANDLER_USE_CSS flag for HTML handler to use CSS
where possible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 11:06:30 +00:00
Julian Smart
ce2a0101bf wxRTC's own caret is more reliable than the generic one, so use it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-14 15:52:26 +00:00
Vadim Zeitlin
6dfeacd66f Don't use _T() in public headers used under Unix.
Avoid conflict with the Sun CC standard headers (see #10660).

Also update the change log to mention _T() changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-09 22:37:05 +00:00
Vadim Zeitlin
9ff9127930 Undef _T before including standard headers and redefine it later.
This change fixes the build of wxWidgets itself by undefining _T() before
including any standard headers and redefining it after including them.

See #10660.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-09 22:29:51 +00:00
Vadim Zeitlin
7620326bdb Don't define _T() when using Sun compiler if possible.
Avoid defining _T() if possible as it conflicts with the use of this
identifier in standard headers. Do still define it when building wx itself or
when the special symbol wxNEEDS__T is explicitly predefined.

See #10660.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-09 22:29:43 +00:00
Václav Slavík
cb14e362f3 compilation fix: only one wxInitialize form may have default argument values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-30 10:14:36 +00:00
Václav Slavík
08d173ca31 compilation fix: only one wxInitialize form may have default argument values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-30 10:14:03 +00:00
Václav Slavík
a3bc27e40a added wxInitialize() overload taking char**, to make use from main() easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-30 07:42:54 +00:00
Vadim Zeitlin
52046585ca don't include wx/msw/winundef.h when including wx/defs.h from C code (closes #10910)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 17:32:20 +00:00
Julian Smart
4931fa77fa wxRichTextCtrl native caret now flashes, for wxMac/Core Graphics mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 21:09:42 +00:00
Julian Smart
5fefca5fb1 Backported Vaclav Slavik's speeded up accurate print preview code from trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 10:16:13 +00:00
Vadim Zeitlin
94254ee936 forward Freeze/Thaw() and Update() to the generic list control (see #10858)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 22:38:47 +00:00
Julian Smart
5f65360a7b Added background colour control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 11:22:40 +00:00
Vadim Zeitlin
19fd2b71d4 enable wxHAS_RAW_BITMAP for OpenWatcom 1.8 and later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 11:42:16 +00:00
Paul Cornett
cb8afeb3e3 build fix for wxUSE_CONFIG==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-05 22:51:44 +00:00
Robin Dunn
143ec48ee5 Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-24 04:23:31 +00:00
Kevin Ollivier
50f9c1377c Initial support for Cairo on MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 00:57:35 +00:00
Vadim Zeitlin
bf7c34c1a4 define HAVE_SSIZE_T if we define ssize_t ourselves to prevent redefinitions in other libraries headers (closes #10674)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 12:16:58 +00:00
Vadim Zeitlin
71d1ad8b40 added forward compatible wxFileName::StripExtension() (see #10634)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 15:59:38 +00:00
Benjamin Williams
5c892e9a01 fix incorrect application of styles (#10171)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 13:41:38 +00:00
Vadim Zeitlin
77aa7b0748 add some forward-compatibility functions to allow writing code compiling with both 2.8 and trunk without deprecation warnings (closes #10629)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 12:35:12 +00:00
Vadim Zeitlin
07f439c78a fix (harmless) MSVC 64 bit compilation warning (closes #10140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 21:58:15 +00:00
Vadim Zeitlin
a1447ee372 add wxUSE_IMAGE checks around ctors using Union() overload only defined when wxUSE_IMAGE==1 (closes #10561)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 10:07:58 +00:00
Vadim Zeitlin
7d39ece5f1 add wxUSE_CONFIG guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 14:03:45 +00:00
Václav Slavík
2b2532d0ae fixed compiler warning about struct/class mismatch (fixes #10534)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 10:43:00 +00:00
Julian Smart
0cfb0d905c Added licensing information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 15:59:37 +00:00
Stefan Csomor
2e70f5211e adding bitmap button version for colour picker, used by setting wxCLRBTN_USES_BMP_BUTTON to 1, off by default also on Mac for binary compat reasons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 13:31:28 +00:00
Stefan Csomor
da76d8c2db porting back support for GetSelection(from,to)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 16:06:13 +00:00
Stefan Csomor
fdcd74bfd4 adding missing ABI guard (SN)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 14:13:53 +00:00
Chris Elliott
60a1267929 update for 2.8.10-rc1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 09:18:23 +00:00
Václav Slavík
4d84b89293 compilation fix for wxABI_VERSION < 20808 (fixes #10493)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 19:38:20 +00:00
Julian Smart
477ce1a138 Fix for wxRichTextRange::!=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 10:16:07 +00:00
Vadim Zeitlin
13bc685813 don't load comctl32.dll, just get the handle of the already loaded instance of it instead [backport of r56863 and r57405 from trunk] (closes #10203)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 10:01:03 +00:00
Vadim Zeitlin
a8e888b0c0 translate (c) and (C) to \u00a9 in wxAboutDialog [backport of r57245, r57514 and r57840 from trunk] (closes #4216)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 09:46:03 +00:00
Vadim Zeitlin
490426ce32 fix other insert() overloads to work when inserting at the end of the list, continuation of r56299 (see #10103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:46:53 +00:00
Vadim Zeitlin
672c426cdf fix insert(end()) [backport of r56299]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:37:13 +00:00
Vadim Zeitlin
729efd1077 removed wrong check from splice(it, list, first)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:23:49 +00:00
Vadim Zeitlin
990168e923 fix wxList::erase(it, end()) in non-STL build (see #10103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:10:56 +00:00
Vadim Zeitlin
c406bd63ff fix Insert(iterator, T) in STL build [backport of r57290 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 22:09:22 +00:00
Bryan Petty
01154d688b Quick 2.8 branch Unicode build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 19:19:40 +00:00
Václav Slavík
e31dc22ee4 Automatically adjust toolbar's tool size if the provided bitmaps don't fit into the default size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:32:16 +00:00
Vadim Zeitlin
40eadc76ec don't use _() in the public header in case WXINTL_NO_GETTEXT_MACRO is defined (closes #10132)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 14:40:43 +00:00