]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
12 years agouse correct signature for init functions
Paul Cornett [Sun, 8 Jan 2012 07:12:35 +0000 (07:12 +0000)] 
use correct signature for init functions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremove unnecessary class definitions and variables
Paul Cornett [Sun, 8 Jan 2012 06:40:26 +0000 (06:40 +0000)] 
remove unnecessary class definitions and variables

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremove unnecessary finalize overrides
Paul Cornett [Sun, 8 Jan 2012 06:30:55 +0000 (06:30 +0000)] 
remove unnecessary finalize overrides

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix wxOSX/Carbon compilation after wxListCtrlBase introduction.
Vadim Zeitlin [Sun, 8 Jan 2012 00:55:22 +0000 (00:55 +0000)] 
Fix wxOSX/Carbon compilation after wxListCtrlBase introduction.

Make wxListCtrl::SetColumn() item parameter const reference.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoCompilation fixes to joystick sample after r70279.
Vadim Zeitlin [Sat, 7 Jan 2012 16:35:02 +0000 (16:35 +0000)] 
Compilation fixes to joystick sample after r70279.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoCompilation fix for PCH-less build after wxListCtrlBase changes.
Vadim Zeitlin [Sat, 7 Jan 2012 16:11:10 +0000 (16:11 +0000)] 
Compilation fix for PCH-less build after wxListCtrlBase changes.

Include the base class declaration from wx/listbase.h.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImprove column auto-sizing code in generic wxListCtrl.
Vadim Zeitlin [Sat, 7 Jan 2012 15:09:54 +0000 (15:09 +0000)] 
Improve column auto-sizing code in generic wxListCtrl.

Take the width of the header itself into account when setting width to
wxLIST_AUTOSIZE.

Also refactor the code to reuse the code used in wxLIST_AUTOSIZE_USEHEADER
case in SetColumnWidth() when inserting or updating the column width to this
value.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd support for wxLIST_AUTOSIZE_USEHEADER to InsertColumn().
Vadim Zeitlin [Sat, 7 Jan 2012 15:09:51 +0000 (15:09 +0000)] 
Add support for wxLIST_AUTOSIZE_USEHEADER to InsertColumn().

Use the fixed default width in InsertColumn() by default for compatibility but
allow more useful behaviour in it by supporting wxLIST_AUTOSIZE_USEHEADER as
well.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd convenient wxListCtrl::AppendColumn() wrapper.
Vadim Zeitlin [Sat, 7 Jan 2012 15:09:47 +0000 (15:09 +0000)] 
Add convenient wxListCtrl::AppendColumn() wrapper.

In the vast majority of cases, columns are just appended to the end and not
inserted at arbitrary positions in wxListCtrl so provide a convenient wrapper
to do this, especially as it's really trivial to do it now when it can be done
only once at wxListCtrlBase level.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImplement best size calculation for report mode wxListCtrl.
Vadim Zeitlin [Sat, 7 Jan 2012 15:09:43 +0000 (15:09 +0000)] 
Implement best size calculation for report mode wxListCtrl.

Use the column labels to determine the minimal width required by the control
to show them all in full.

Also declare all image list and column-related wxListCtrl methods in
wxListCtrlBase now as we need some of them in DoGetBestClientSize()
implementation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoReplace 3 copies of wxListCtrl mode tests with a single one in wxListCtrlBase.
Vadim Zeitlin [Sat, 7 Jan 2012 15:09:37 +0000 (15:09 +0000)] 
Replace 3 copies of wxListCtrl mode tests with a single one in wxListCtrlBase.

Move InReportView() and IsVirtual() into the base class as they were the same
in all the implementations.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd wxListCtrlBase common base class for port-specific wxListCtrl.
Vadim Zeitlin [Sat, 7 Jan 2012 15:09:34 +0000 (15:09 +0000)] 
Add wxListCtrlBase common base class for port-specific wxListCtrl.

This base class is currently trivial, more methods will be moved to it from
the derived classes later.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoSet Z-position correctly for wxEVT_JOY_ZMOVE events.
Vadim Zeitlin [Sat, 7 Jan 2012 15:09:29 +0000 (15:09 +0000)] 
Set Z-position correctly for wxEVT_JOY_ZMOVE events.

Z-move events don't have (x, y) position, but they do have Z-position which
needs to be set.

Also don't use (x, y) position for these events in the sample.

See #748.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoJoystick messages coordinates are unsigned, treat them as such.
Vadim Zeitlin [Sat, 7 Jan 2012 15:09:24 +0000 (15:09 +0000)] 
Joystick messages coordinates are unsigned, treat them as such.

Apparently the joystick messages (x, y) coordinates are unsigned, so use
LOWORD/HIWORD to extract them from LPARAM.

See #748.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRemoved compilation ambiguity between different forms of ...WithUndo functions.
Julian Smart [Thu, 5 Jan 2012 15:48:21 +0000 (15:48 +0000)] 
Removed compilation ambiguity between different forms of ...WithUndo functions.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFixed box style application.
Julian Smart [Thu, 5 Jan 2012 14:10:24 +0000 (14:10 +0000)] 
Fixed box style application.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFixed #13833: wxRichTextCtrl: 'Copy' can grab an extra character
Julian Smart [Thu, 5 Jan 2012 14:08:52 +0000 (14:08 +0000)] 
Fixed #13833: wxRichTextCtrl: 'Copy' can grab an extra character

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoEnsure that wxListEvent::m_itemIndex and m_item.m_itemId are in sync.
Vadim Zeitlin [Thu, 5 Jan 2012 12:51:42 +0000 (12:51 +0000)] 
Ensure that wxListEvent::m_itemIndex and m_item.m_itemId are in sync.

Unfortunately we have two ways to get the item affected by wxListEvent: via
its m_itemIndex (or GetIndex()) and m_item.m_itemId (or GetItem()). This can't
be changed for the usual backwards compatibility reasons but at least make
sure that both contain the same values in the events sent by the generic
version (MSW one already did it).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't fill wxListEvent::m_item when using virtual list control in wxMSW.
Vadim Zeitlin [Thu, 5 Jan 2012 12:51:40 +0000 (12:51 +0000)] 
Don't fill wxListEvent::m_item when using virtual list control in wxMSW.

When using virtual list control the main program already has the items data so
it's completely useless to call GetItem() when preparing an event for it. It
is also inefficient to call GetItem() for potentially many items.

For both of these reasons the generic version already didn't fill the item
contents for virtual list controls events. Now modify wxMSW to not do it
neither.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoInitialize wxListItem::m_itemId to -1, not 0.
Vadim Zeitlin [Thu, 5 Jan 2012 12:51:37 +0000 (12:51 +0000)] 
Initialize wxListItem::m_itemId to -1, not 0.

Currently we have two redundant pieces of data in wxListEvent: m_itemIndex and
m_item.m_itemId. The former is initialized to -1 by default which makes sense
as it means "no item". But the latter was 0 by default which not only didn't
make sense but also made it inconsistent with m_itemIndex for the events which
really didn't have any associated item.

Fix this by initializing m_itemId to -1 as well.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix wxDateTime unit test compilation without PCH.
Vadim Zeitlin [Thu, 5 Jan 2012 10:21:46 +0000 (10:21 +0000)] 
Fix wxDateTime unit test compilation without PCH.

Include wx/time.h to get wxGetTimeZone() declaration.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImplement support for "%z" in wxDateTime::Format() and Parse().
Vadim Zeitlin [Thu, 5 Jan 2012 00:47:10 +0000 (00:47 +0000)] 
Implement support for "%z" in wxDateTime::Format() and Parse().

"%z" specifier can now be used when printing the dates out to specify the time
zone and is also recognized when parsing dates.

Closes #1215.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdded box style functionality to style manager dialog
Julian Smart [Wed, 4 Jan 2012 19:38:31 +0000 (19:38 +0000)] 
Added box style functionality to style manager dialog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImplement missing wxTextBoxAttr::IsDefault function
Julian Smart [Wed, 4 Jan 2012 16:32:08 +0000 (16:32 +0000)] 
Implement missing wxTextBoxAttr::IsDefault function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoMore pt_BR translations from Felipe.
Vadim Zeitlin [Wed, 4 Jan 2012 15:53:08 +0000 (15:53 +0000)] 
More pt_BR translations from Felipe.

All the messages are now translated.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoPossible fix for #13821: wxRichTextCtrl using 100% CPU
Julian Smart [Wed, 4 Jan 2012 14:41:29 +0000 (14:41 +0000)] 
Possible fix for #13821: wxRichTextCtrl using 100% CPU

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoBackground now drawn within the border instead of beyond the margin
Julian Smart [Wed, 4 Jan 2012 14:00:29 +0000 (14:00 +0000)] 
Background now drawn within the border instead of beyond the margin

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix wxRibbon compilation when wxUSE_TOOLTIPS==0.
Vadim Zeitlin [Wed, 4 Jan 2012 13:39:23 +0000 (13:39 +0000)] 
Fix wxRibbon compilation when wxUSE_TOOLTIPS==0.

Add wxUSE_TOOLTIPS tests after the changes of r70175.

Closes #13827.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFixed border drawing bug when width is more than 1
Julian Smart [Wed, 4 Jan 2012 12:50:47 +0000 (12:50 +0000)] 
Fixed border drawing bug when width is more than 1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUpdate makefile for OpenVMS
Jouk Jansen [Wed, 4 Jan 2012 10:42:11 +0000 (10:42 +0000)] 
Update makefile for OpenVMS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agofixes #13826
Stefan Csomor [Wed, 4 Jan 2012 07:54:00 +0000 (07:54 +0000)] 
fixes #13826

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix wxEncodingConverter::Convert(wchar_t) documentation.
Vadim Zeitlin [Tue, 3 Jan 2012 23:27:50 +0000 (23:27 +0000)] 
Fix wxEncodingConverter::Convert(wchar_t) documentation.

This method mistakenly "inherited" the same documentation as 2 argument
Convert() overloads.

Closes #13825.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDisable drag and drop if the control is not editable
Julian Smart [Tue, 3 Jan 2012 15:24:20 +0000 (15:24 +0000)] 
Disable drag and drop if the control is not editable

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoApplied #13819: wxRTC drag and drop, by dghart, with tweaks
Julian Smart [Tue, 3 Jan 2012 14:09:34 +0000 (14:09 +0000)] 
Applied #13819: wxRTC drag and drop, by dghart, with tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agofixes #13695
Stefan Csomor [Tue, 3 Jan 2012 10:53:12 +0000 (10:53 +0000)] 
fixes #13695

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoadapting to new raw_control constants, see #13695
Stefan Csomor [Tue, 3 Jan 2012 10:34:14 +0000 (10:34 +0000)] 
adapting to new raw_control constants, see #13695

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix child selection in multi-selection generic wxTreeCtrl.
Vadim Zeitlin [Tue, 3 Jan 2012 00:44:47 +0000 (00:44 +0000)] 
Fix child selection in multi-selection generic wxTreeCtrl.

The children which are not currently shown on the screen shouldn't be affected
by Shift-selecting in multi-selection control.

Closes #1312.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImprove links in wxAuiManager flags documentation.
Vadim Zeitlin [Tue, 3 Jan 2012 00:40:32 +0000 (00:40 +0000)] 
Improve links in wxAuiManager flags documentation.

Use @param tags and "::" to link enum name.

Closes #13689.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDocument wxIMAGE_OPTION_CUR_HOTSPOT_[XY] in wxCursor ctor.
Vadim Zeitlin [Tue, 3 Jan 2012 00:40:27 +0000 (00:40 +0000)] 
Document wxIMAGE_OPTION_CUR_HOTSPOT_[XY] in wxCursor ctor.

These options were already mentioned in wxCursor documentation but not
prominently enough, so mention them explicitly in the documentation of
wxCursor ctor from wxImage.

Closes #13820.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoCorrect documentation of supported cursor sizes under wxOSX.
Vadim Zeitlin [Tue, 3 Jan 2012 00:40:22 +0000 (00:40 +0000)] 
Correct documentation of supported cursor sizes under wxOSX.

wxOSX/Cocoa seems to support cursors of any size and with colours.

Closes #12614.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoBe a little smarter about choosing the default SDK to use.
Robin Dunn [Mon, 2 Jan 2012 22:28:51 +0000 (22:28 +0000)] 
Be a little smarter about choosing the default SDK to use.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdded a box style definition name to the box attribute.
Julian Smart [Mon, 2 Jan 2012 21:18:05 +0000 (21:18 +0000)] 
Added a box style definition name to the box attribute.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFixed javascript errors in CHM version of the manual.
Bryan Petty [Mon, 2 Jan 2012 01:32:20 +0000 (01:32 +0000)] 
Fixed javascript errors in CHM version of the manual.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoWhen the focus object changes, the old selection should be
Julian Smart [Fri, 30 Dec 2011 17:22:11 +0000 (17:22 +0000)] 
When the focus object changes, the old selection should be
cancelled explicitly to avoid seeing multiple selections until the next
refresh.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoSplit up the context menu functionality to make it easier to customise.
Julian Smart [Fri, 30 Dec 2011 17:12:37 +0000 (17:12 +0000)] 
Split up the context menu functionality to make it easier to customise.
Tweaked style combobox popup border.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImplement wxDataViewModel::IsEnabled() support in generic implementation.
Václav Slavík [Fri, 30 Dec 2011 14:28:13 +0000 (14:28 +0000)] 
Implement wxDataViewModel::IsEnabled() support in generic implementation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoInterface fixes and tweaks for Phoenix
Robin Dunn [Fri, 30 Dec 2011 06:14:17 +0000 (06:14 +0000)] 
Interface fixes and tweaks for Phoenix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUpdate wxGrid unit tests after r70177.
Vadim Zeitlin [Thu, 29 Dec 2011 23:39:27 +0000 (23:39 +0000)] 
Update wxGrid unit tests after r70177.

The row/column selection is not stored in the block arrays, see #12638.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAllow using '(' and ')' in wxFileConfig entry names unescaped.
Vadim Zeitlin [Thu, 29 Dec 2011 22:11:11 +0000 (22:11 +0000)] 
Allow using '(' and ')' in wxFileConfig entry names unescaped.

There is no real reason to escape the parentheses in the key entries, they're
not special.

Closes #13584.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDocument wxAuiManager styles and flags.
Vadim Zeitlin [Thu, 29 Dec 2011 22:05:50 +0000 (22:05 +0000)] 
Document wxAuiManager styles and flags.

Closes #13689.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDisable VC8+ deprecation warnings for standard functions at bakefile level.
Vadim Zeitlin [Thu, 29 Dec 2011 22:05:46 +0000 (22:05 +0000)] 
Disable VC8+ deprecation warnings for standard functions at bakefile level.

We already define the symbols needed to disable the warnings in wx/defs.h but
this isn't enough for third party code not including it, so define them in the
project settings directly.

Closes #11009.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd wxRibbonButtonBar::InsertXXXButton() methods.
Vadim Zeitlin [Thu, 29 Dec 2011 22:05:39 +0000 (22:05 +0000)] 
Add wxRibbonButtonBar::InsertXXXButton() methods.

Allow inserting buttons into the ribbon bar and not only appending them.

Closes #13811.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAllow using wxEVT_UPDATE_UI with wxRibbonButtonBar.
Vadim Zeitlin [Thu, 29 Dec 2011 22:05:34 +0000 (22:05 +0000)] 
Allow using wxEVT_UPDATE_UI with wxRibbonButtonBar.

Generate wxUpdateUIEvent for the ribbon buttons to allow updating their state
using wxEVT_UPDATE_UI. Also update the same to show this.

Closes #12003.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't send idle events to the windows about to be destroyed.
Vadim Zeitlin [Thu, 29 Dec 2011 22:05:31 +0000 (22:05 +0000)] 
Don't send idle events to the windows about to be destroyed.

This is useless and can apparently result in some problems as of r25877 and
r25877 (from 8 years ago) added explicit checks preventing processing such
events in wxToolBar and wxMenu. Instead, simply don't generate these events in
the first place and also remove the now unnecessary checks for them.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoBetter fix for wxSpinCtrlGeneric enabling/disabling bug in wxMSW.
Vadim Zeitlin [Thu, 29 Dec 2011 22:05:27 +0000 (22:05 +0000)] 
Better fix for wxSpinCtrlGeneric enabling/disabling bug in wxMSW.

To really ensure that the window containing the components of wxSpinCtrlGeneric
is never enabled under MSW (as we want to avoid this to ensure that any input
always goes to its children and not the window itself, see #12045), override
DoEnable() and not Enable(). This takes care of the case when the control gets
implicitly disabled because its parent is.

Closes #13142.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoStore row/column selection more appropriately in wxGrid.
Vadim Zeitlin [Thu, 29 Dec 2011 22:05:23 +0000 (22:05 +0000)] 
Store row/column selection more appropriately in wxGrid.

Use wxGridSelection::m_rowSelection and m_colSelection for storing the
selected rows/columns respectively instead of storing them in m_blockXXX
arrays. This makes more sense and allows to easily implement the proper
handling of Ctrl-clicking in the row or column selection modes.

Closes #12638.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoMention wxEVT_COMMAND_TOGGLEBUTTON_CLICKED explicitly in the documentation.
Vadim Zeitlin [Thu, 29 Dec 2011 22:05:19 +0000 (22:05 +0000)] 
Mention wxEVT_COMMAND_TOGGLEBUTTON_CLICKED explicitly in the documentation.

Document the event type together with the event table macro.

See #11943.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDisplay help string for ribbon tools in a tool tip.
Vadim Zeitlin [Thu, 29 Dec 2011 22:05:15 +0000 (22:05 +0000)] 
Display help string for ribbon tools in a tool tip.

Show the help string of the ribbon item currently being hovered over in a
tooltip.

Closes #11879.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDo not put semicolons after the definition of an inline function.
Stefan Neis [Thu, 29 Dec 2011 14:42:13 +0000 (14:42 +0000)] 
Do not put semicolons after the definition of an inline function.
Even though most compilers just ignore this, it's just wrong and if you
do get warnings about header files, they can become quite overwhelming.
Forward port of r70163.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoInclude some more declarations & defines.
Stefan Neis [Thu, 29 Dec 2011 14:36:22 +0000 (14:36 +0000)] 
Include some more declarations & defines.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoReordered "extern" and WXDLLIMPEXP_CORE specifiers; fixes #13816.
Stefan Neis [Thu, 29 Dec 2011 11:26:05 +0000 (11:26 +0000)] 
Reordered "extern" and WXDLLIMPEXP_CORE specifiers; fixes #13816.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRestore wxEVT_MENU_CLOSE generation under Windows 95 after r70151.
Vadim Zeitlin [Wed, 28 Dec 2011 17:47:21 +0000 (17:47 +0000)] 
Restore wxEVT_MENU_CLOSE generation under Windows 95 after r70151.

WM_UNINITMENUPOPUP is "only" available since Windows 98/2000 so restore the
old code using WM_EXITMENULOOP as fall back, just to avoid any regressions for
people who might still be using these systems.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoCompilation fix for VC6 after r70151.
Vadim Zeitlin [Wed, 28 Dec 2011 17:32:32 +0000 (17:32 +0000)] 
Compilation fix for VC6 after r70151.

VC6 standard SDK didn't define WM_UNINITMENUPOPUP, so define it for it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd standard art providers at the bottom of the art providers stack.
Vadim Zeitlin [Wed, 28 Dec 2011 13:51:29 +0000 (13:51 +0000)] 
Add standard art providers at the bottom of the art providers stack.

This ensures that any user-defined art providers will be in front of them,
even when they are added at module-initialization time i.e. possibly before
the standard ones.

Closes #12519.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse best controller size in wxBookCtrl best size calculation.
Vadim Zeitlin [Wed, 28 Dec 2011 13:51:25 +0000 (13:51 +0000)] 
Use best controller size in wxBookCtrl best size calculation.

Don't use GetControllerSize() which returns the actual, not the best, size of
the controller.

Closes #11793.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImprove layout in the samples to avoid problems under Mac.
Vadim Zeitlin [Wed, 28 Dec 2011 13:51:21 +0000 (13:51 +0000)] 
Improve layout in the samples to avoid problems under Mac.

Changes the samples to look better under Mac and avoid the worst problems such
as overlapping buttons or truncated controls.

Closes #11651.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoComplete wxEVT_MENU_{OPEN,CLOSE} implementation in wxMSW and wxOSX.
Vadim Zeitlin [Wed, 28 Dec 2011 13:51:17 +0000 (13:51 +0000)] 
Complete wxEVT_MENU_{OPEN,CLOSE} implementation in wxMSW and wxOSX.

Set the wxMenu correctly for wxEVT_MENU_CLOSE events in wxMSW.

Set the menu id correctly to allow wxMenuEvent::IsPopup() to work for both
wxEVT_MENU_OPEN and wxEVT_MENU_CLOSE in wxOSX.

Closes #11313.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse memmove() instead of memcpy() in wxString::AssignCopy().
Vadim Zeitlin [Wed, 28 Dec 2011 13:51:13 +0000 (13:51 +0000)] 
Use memmove() instead of memcpy() in wxString::AssignCopy().

This at least allows the code like "s = s.c_str()" to work correctly when
using our own wxString implementation, even it doesn't fix all
self-assignment-related bugs (again, when using our own implementation only,
there is no bug when using std::basic_string as underlying implementation).

This is a cherry pick of r63008 from 2.8 branch.

See #11245.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDisable final failing wxWebView test. It fails on the buildbot but not locally.
Steve Lamerton [Wed, 28 Dec 2011 10:01:05 +0000 (10:01 +0000)] 
Disable final failing wxWebView test. It fails on the buildbot but not locally.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoCompilation fix for PCH-less build after r70122.
Vadim Zeitlin [Tue, 27 Dec 2011 17:32:29 +0000 (17:32 +0000)] 
Compilation fix for PCH-less build after r70122.

Include the header declaring wxClientDC.

Closes #13809.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoCompilation fix for wxUniv/X11 with wxUSE_STL==1.
Vadim Zeitlin [Tue, 27 Dec 2011 01:21:50 +0000 (01:21 +0000)] 
Compilation fix for wxUniv/X11 with wxUSE_STL==1.

Don't rely on implicit conversion from wxString to wchar_t*.

Closes #13790.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUpdate the value of read-only wxComboBox in wxUniv.
Vadim Zeitlin [Tue, 27 Dec 2011 01:21:46 +0000 (01:21 +0000)] 
Update the value of read-only wxComboBox in wxUniv.

Fix regression in combobox appearance: it never showed the selected value when
it was read-only any more.

Closes #13688.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix warning about non-virtual dtor in wxDataViewCtrlInternal.
Vadim Zeitlin [Tue, 27 Dec 2011 01:21:43 +0000 (01:21 +0000)] 
Fix warning about non-virtual dtor in wxDataViewCtrlInternal.

This class doesn't need a virtual dtor but g++ warned about its absence
because it unnecessarily defined a virtual method. Just make this method
non-virtual to avoid the warning.

Closes #13395.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoSuppress gcc -Wint-to-pointer-cast warnings in GTK wxDataViewCtrl.
Vadim Zeitlin [Tue, 27 Dec 2011 01:21:39 +0000 (01:21 +0000)] 
Suppress gcc -Wint-to-pointer-cast warnings in GTK wxDataViewCtrl.

Use wxUIntToPtr to avoid the warnings about casts from smaller (in 64 bit
build) int type to pointer.

Closes #13394.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't use deprecated wxArtProvider::Insert().
Vadim Zeitlin [Tue, 27 Dec 2011 01:21:36 +0000 (01:21 +0000)] 
Don't use deprecated wxArtProvider::Insert().

Ironically, it was 2.6 compatibility code that was using the function
deprecated after 2.8. In any case, just use the newest name for it.

Closes #13393.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix the size of the font returned by wxTextCtrl::GetStyle() in MSW.
Vadim Zeitlin [Tue, 27 Dec 2011 01:21:33 +0000 (01:21 +0000)] 
Fix the size of the font returned by wxTextCtrl::GetStyle() in MSW.

CHARFORMAT stores height in 1/20th of a point, not pixels. Add the correct
conversion to the units used by LOGFONT.

See #13384.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRecognize background-color style in wxHtmlWindow.
Vadim Zeitlin [Tue, 27 Dec 2011 01:21:29 +0000 (01:21 +0000)] 
Recognize background-color style in wxHtmlWindow.

Just treat it as a synonym for "background" i.e. the same as HTML3 BGCOLOR.

Closes #13173.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd support for more CSS styles to SPAN tag in wxHtmlWindow.
Vadim Zeitlin [Tue, 27 Dec 2011 01:21:26 +0000 (01:21 +0000)] 
Add support for more CSS styles to SPAN tag in wxHtmlWindow.

Add limited support font-family, font-style and text-decoration.

Closes #13170.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoIncrease the tolerance in wxStopWatch unit test.
Vadim Zeitlin [Mon, 26 Dec 2011 12:57:49 +0000 (12:57 +0000)] 
Increase the tolerance in wxStopWatch unit test.

Sleeping can take more time than expected when running on the build slaves,
probably because the machine is heavily loaded. Increase the tolerance to
prevent this from resulting in test failures.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoApplied patch in #13777 (wxRichTextCtrl scroll and delete not refreshed)
Julian Smart [Sun, 25 Dec 2011 17:04:51 +0000 (17:04 +0000)] 
Applied patch in #13777 (wxRichTextCtrl scroll and delete not refreshed)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAlways link with expat in monolithic build.
Vadim Zeitlin [Sun, 25 Dec 2011 13:28:01 +0000 (13:28 +0000)] 
Always link with expat in monolithic build.

Fix linking errors when using wxXML in sttaic monolithic build: in this case
we must link with expat but it was listed too early, before wxWidgets
libraries using it, in the bakefile-generated makefiles.

Now add it to the end of the linker command line too by including -lexpat in
EXTRALIBS_FOR_BASE which are appended to the linker arguments.

Notice that now -lexpat is linked twice because it is still added by
<wx-lib>xml</wx-lib> in bakefiles, even in monolithic build, but I don't know
how to avoid it and it is harmless anyhow.

Closes #12573.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdded a warning about multi-cells in wxGrid::DeleteRows() docs.
Vadim Zeitlin [Sun, 25 Dec 2011 12:52:56 +0000 (12:52 +0000)] 
Added a warning about multi-cells in wxGrid::DeleteRows() docs.

Currently deleting rows or columns intersecting a multi-cell is simply not
supported and results in an immediate crash.

See #4238.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agorestore call to GetTabSize removed in r69880, it is needed to set x_extent
Paul Cornett [Sun, 25 Dec 2011 00:57:27 +0000 (00:57 +0000)] 
restore call to GetTabSize removed in r69880, it is needed to set x_extent

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoReally fix the use of deprecated methods in wxGrid test.
Vadim Zeitlin [Sat, 24 Dec 2011 18:30:52 +0000 (18:30 +0000)] 
Really fix the use of deprecated methods in wxGrid test.

The changes of r70111 were wrong, the unit test for wxGrid really did intend
to test the deprecated methods so restore them -- but only in
WXWIN_COMPATIBILITY_2_8 case.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImplement wxNotebook::CalcSizeFromPage() for wxGTK.
Vadim Zeitlin [Sat, 24 Dec 2011 18:19:26 +0000 (18:19 +0000)] 
Implement wxNotebook::CalcSizeFromPage() for wxGTK.

The implementation is far from perfect as it relies on hard-coded margins but
is better than nothing as it allows wxNotebook best size determination and
SetPageSize() method to work correctly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't use deprecated methods in wxGrid test.
Vadim Zeitlin [Sat, 24 Dec 2011 17:58:32 +0000 (17:58 +0000)] 
Don't use deprecated methods in wxGrid test.

Don't use the methods defined only when building 2.8-compatible mode to let
the tests compile even with WXWIN_COMPATIBILITY_2_8 off. This only worked
before because of the wrong tests in grid.h but broke after the fixes of
r70098.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremove improper use of paste operator
Paul Cornett [Sat, 24 Dec 2011 16:46:26 +0000 (16:46 +0000)] 
remove improper use of paste operator

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix fatal bug with deleting the old contents in wxScopedArray::reset().
Vadim Zeitlin [Sat, 24 Dec 2011 15:43:14 +0000 (15:43 +0000)] 
Fix fatal bug with deleting the old contents in wxScopedArray::reset().

"delete" was wrongly used instead of "delete[]".

Closes #13806.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse the correct function type cast in EVT_WEBKIT_NEW_WINDOW.
Vadim Zeitlin [Sat, 24 Dec 2011 15:43:12 +0000 (15:43 +0000)] 
Use the correct function type cast in EVT_WEBKIT_NEW_WINDOW.

Use wxWebKitNewWindowEventHandler to perform a proper static_cast<>, which
detects incorrect casts during compilation, instead of
wxWebKitNewWindowEventFunction which was just doing an unsafe C-style cast.

Cloes #13805.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd EVT_FSWATCHER event table macro.
Vadim Zeitlin [Sat, 24 Dec 2011 15:43:08 +0000 (15:43 +0000)] 
Add EVT_FSWATCHER event table macro.

It was documented, and ought to have existed anyhow for consistency with
wxEVT_FSWATCHER, but wasn't defined. Do it now.

Closes #13804.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd EVT_WINDOW_MODAL_DIALOG_CLOSED() event table macro.
Vadim Zeitlin [Sat, 24 Dec 2011 15:43:05 +0000 (15:43 +0000)] 
Add EVT_WINDOW_MODAL_DIALOG_CLOSED() event table macro.

Add it for consistency with wxEVT_WINDOW_MODAL_DIALOG_CLOSED.

See #13804.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix typo in wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK in documentation.
Vadim Zeitlin [Sat, 24 Dec 2011 15:43:01 +0000 (15:43 +0000)] 
Fix typo in wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK in documentation.

It was misspelt as wxEVT_COMMAND_RICHTEXT_DLEFT_CLICK.

Closes #13802.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRemove references to defunct event types in comments.
Vadim Zeitlin [Sat, 24 Dec 2011 15:42:57 +0000 (15:42 +0000)] 
Remove references to defunct event types in comments.

No real changes, just complete the changes of r58039 by removing the
references to non-existent (any more) event types from the comments too.

Closes #13801.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoApplied #13803: wxRichTextCtrl: missing event-table macro (dghart)
Julian Smart [Sat, 24 Dec 2011 11:39:40 +0000 (11:39 +0000)] 
Applied #13803: wxRichTextCtrl: missing event-table macro (dghart)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDisable some wxWebView tests that fail on the buildbot but not locally.
Steve Lamerton [Sat, 24 Dec 2011 10:08:37 +0000 (10:08 +0000)] 
Disable some wxWebView tests that fail on the buildbot but not locally.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix typo in ADD_RAW_IID macro.
Steve Lamerton [Sat, 24 Dec 2011 10:05:31 +0000 (10:05 +0000)] 
Fix typo in ADD_RAW_IID macro.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd some extra yields to wxWebView unit tests to hopefully fix some of the failing...
Steve Lamerton [Fri, 23 Dec 2011 19:16:47 +0000 (19:16 +0000)] 
Add some extra yields to wxWebView unit tests to hopefully fix some of the failing buildbot runs.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agodon't use deprecated function
Paul Cornett [Fri, 23 Dec 2011 17:38:30 +0000 (17:38 +0000)] 
don't use deprecated function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agofix tests for WXWIN_COMPATIBILITY_2_8, closes #13800
Paul Cornett [Fri, 23 Dec 2011 05:59:59 +0000 (05:59 +0000)] 
fix tests for WXWIN_COMPATIBILITY_2_8, closes #13800

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse OLE helper macros in wxWebView to reduce the amount of duplicated code.
Steve Lamerton [Thu, 22 Dec 2011 19:16:12 +0000 (19:16 +0000)] 
Use OLE helper macros in wxWebView to reduce the amount of duplicated code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775