]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
12 years agoAdd wx/setup.h header for wxGTK build under MSW.
Vadim Zeitlin [Tue, 12 Jun 2012 21:41:59 +0000 (21:41 +0000)] 
Add wx/setup.h header for wxGTK build under MSW.

This is identical to wx/msw/setup0.h but will be used by wxGTK builds using
MSVC when this is supported.

Closes #14395.

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

12 years agoCompilation fix in non-PCH build of wxMSW wxStaticBox.
Vadim Zeitlin [Tue, 12 Jun 2012 21:41:53 +0000 (21:41 +0000)] 
Compilation fix in non-PCH build of wxMSW wxStaticBox.

Include wx/sizer.h now that we use sizers in static box DoGetBestSize().

Closes #14397.

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

12 years agoDon't use generic wxListCtrl style for wxListMainWindow.
Vadim Zeitlin [Tue, 12 Jun 2012 21:41:50 +0000 (21:41 +0000)] 
Don't use generic wxListCtrl style for wxListMainWindow.

This resulted in double border around wxListCtrl contents in wxOSX and almost
certainly other ports except wxGTK for which we already had an explicit
preprocessor check in the generic list control code. Remove it and simply
don't use any wxListCtrl-specific styles, including borders, for its main
window as it doesn't make any sense.

Closes #3701.

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

12 years agoMake wxMSW tree item unlocking reentrant.
Vadim Zeitlin [Tue, 12 Jun 2012 21:41:40 +0000 (21:41 +0000)] 
Make wxMSW tree item unlocking reentrant.

Handle creating nested TreeItemUnlocker objects correctly. This fixes the
problem when a wxTreeCtrl method unlocking some item is called with another
item is already unlocked, e.g. from a selection changed event handler.

Closes #14400.

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

12 years agosupport for native tlw parents, see #14252
Stefan Csomor [Tue, 12 Jun 2012 18:44:31 +0000 (18:44 +0000)] 
support for native tlw parents, see #14252

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

12 years agousing callback for menu enabling, allows to benefit from system menu disabling eg...
Stefan Csomor [Tue, 12 Jun 2012 00:23:22 +0000 (00:23 +0000)] 
using callback for menu enabling, allows to benefit from system menu disabling eg for modal dialogs, see #14177

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

12 years agosetting source as this, according to thread '[wx-dev] Bug in wxMenuBarBase::UpdateMenus'
Stefan Csomor [Tue, 12 Jun 2012 00:21:51 +0000 (00:21 +0000)] 
setting source as this, according to thread '[wx-dev] Bug in wxMenuBarBase::UpdateMenus'

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

12 years agoFix compilation error
Robin Dunn [Sun, 10 Jun 2012 17:09:49 +0000 (17:09 +0000)] 
Fix compilation error

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

12 years agoFix wxHTMLDataObject compilation and memory leaks.
Vadim Zeitlin [Sun, 10 Jun 2012 11:57:20 +0000 (11:57 +0000)] 
Fix wxHTMLDataObject compilation and memory leaks.

Use wxString::FromUTF8() and utf8_str() instead of directly using wxConvUTF8
as this is simpler and also works correctly in non-Unicode build (and more
efficiently in UTF-8 build as no conversion is done there).

Do not allocate -- and leak -- buffer in wxHTMLDataObject::GetDataHere(),
we're supposed to be putting data into the caller-provided buffer instead of
using our own.

Closes #14391.

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

12 years agoKeep track of the area intended to be buffered, and use that in UnMask instead of...
Robin Dunn [Fri, 8 Jun 2012 19:26:19 +0000 (19:26 +0000)] 
Keep track of the area intended to be buffered, and use that in UnMask instead of defaulting to the buffer size.  Only clip to the DC size if wxBUFFER_VIRTUAL_AREA is not set.  This fixes the issue where buffering the full virtual area in a wxScrolledWindow would only draw an area the physical size of the window.  Fixes #11612.

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

12 years agoAdd doc for SendAutoScrollEvents
Robin Dunn [Fri, 8 Jun 2012 19:26:12 +0000 (19:26 +0000)] 
Add doc for SendAutoScrollEvents

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

12 years agoFix wxWindow::IsDescendant() to work with argument equal to this window.
Vadim Zeitlin [Fri, 8 Jun 2012 18:44:18 +0000 (18:44 +0000)] 
Fix wxWindow::IsDescendant() to work with argument equal to this window.

Passing the window itself as IsDescendant() argument for a top level window
resulted in a NULL pointer dereference. Fix this and also simplify the
function code by not using the parent window before checking it's !NULL.

Closes #14387.

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

12 years agoUse wxString::Clone() instead of c_str() in wxThreadEvent copy ctor.
Vadim Zeitlin [Fri, 8 Jun 2012 18:44:14 +0000 (18:44 +0000)] 
Use wxString::Clone() instead of c_str() in wxThreadEvent copy ctor.

Creating a new wxString from c_str() of the old one resulted in dropping all
string data after the first embedded NUL. Fix this by using Clone() method
that exists specifically for this purpose. It also makes the code more clear.

Closes #14380.

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

12 years agoUse PLATFORM checks in bakefiles instead of TOOLKIT checks.
Vadim Zeitlin [Fri, 8 Jun 2012 18:44:10 +0000 (18:44 +0000)] 
Use PLATFORM checks in bakefiles instead of TOOLKIT checks.

No real changes as the output is currently the same for all supported
PLATFORM/TOOLKIT combinations anyhow but prefer checking for PLATFORM to
prepare for the support of GTK toolkit under MSW platform.

Closes #14379.

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

12 years agoInterface fixes for Phoenix
Robin Dunn [Fri, 8 Jun 2012 05:11:21 +0000 (05:11 +0000)] 
Interface fixes for Phoenix

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

12 years agofix warnings about conversion to bool, closes #14381
Paul Cornett [Thu, 7 Jun 2012 05:18:30 +0000 (05:18 +0000)] 
fix warnings about conversion to bool, closes #14381

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

12 years agofix warnings about unreachable return statements
Paul Cornett [Thu, 7 Jun 2012 05:13:19 +0000 (05:13 +0000)] 
fix warnings about unreachable return statements

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

12 years agoAdd export macro for wxTreeListEvent so the non-inline class info and things can...
Robin Dunn [Thu, 7 Jun 2012 04:43:15 +0000 (04:43 +0000)] 
Add export macro for wxTreeListEvent so the non-inline class info and things can be found where they're exepcted

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

12 years agoInterface fixes for Phoenix
Robin Dunn [Thu, 7 Jun 2012 04:43:09 +0000 (04:43 +0000)] 
Interface fixes for Phoenix

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

12 years agoAdd missing wxRichToolTip::SetTitleFont implementation.
Robin Dunn [Thu, 7 Jun 2012 04:43:02 +0000 (04:43 +0000)] 
Add missing wxRichToolTip::SetTitleFont implementation.

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

12 years agoInterface fixes for Phoenix
Robin Dunn [Thu, 7 Jun 2012 04:42:57 +0000 (04:42 +0000)] 
Interface fixes for Phoenix

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

12 years agowxHtmlHelpWindow: Fix contents panel syncing with view.
Václav Slavík [Wed, 6 Jun 2012 17:18:15 +0000 (17:18 +0000)] 
wxHtmlHelpWindow: Fix contents panel syncing with view.

Simply opened page notification code. Fix it to really highlight the
page currently visible, instead of the previous one.

Fixes #14320.

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

12 years agoadd missing public keyword for base class
Robin Dunn [Wed, 6 Jun 2012 02:06:24 +0000 (02:06 +0000)] 
add missing public keyword for base class

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

12 years agoIf there is a sizer then use it's calculated minimum in wxStaticBox::DoGetBestSize
Robin Dunn [Tue, 5 Jun 2012 21:26:53 +0000 (21:26 +0000)] 
If there is a sizer then use it's calculated minimum in wxStaticBox::DoGetBestSize

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

12 years agoInterface fixes for Phoenix
Robin Dunn [Tue, 5 Jun 2012 21:26:48 +0000 (21:26 +0000)] 
Interface fixes for Phoenix

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

12 years agoInterface fixes for Phoenix
Robin Dunn [Tue, 5 Jun 2012 21:26:42 +0000 (21:26 +0000)] 
Interface fixes for Phoenix

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

12 years agoWorkaround for Ubuntu 12.04 run time warning
Paul Cornett [Tue, 5 Jun 2012 16:49:28 +0000 (16:49 +0000)] 
Workaround for Ubuntu 12.04 run time warning
"LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent."
Avoid calling gtk_widget_destroy() on a wxMenuBar attached to a frame
Fixes #14292

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

12 years agoDon't give incorrect example in wxTextEntry::GetInsertionPoint() docs.
Vadim Zeitlin [Tue, 5 Jun 2012 12:21:29 +0000 (12:21 +0000)] 
Don't give incorrect example in wxTextEntry::GetInsertionPoint() docs.

Using the text control position as index in GetValue() is wrong in general,
show the correct way of doing this.

Closes #14372.

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

12 years agoFix ribbon sample compilation after r71642.
Vadim Zeitlin [Tue, 5 Jun 2012 12:12:43 +0000 (12:12 +0000)] 
Fix ribbon sample compilation after r71642.

Add a missing header with declaration of wxMessageBox() for PCH-less
compilation.

Closes #14376.

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

12 years agoFix layout of wxStaticText, and possibly other controls.
Paul Cornett [Mon, 4 Jun 2012 17:36:51 +0000 (17:36 +0000)] 
Fix layout of wxStaticText, and possibly other controls.
GtkLabel perversely does not use its actual size to do layout, but will use its
size request. So restore calling gtk_widget_set_size_request() for all widgets,
which was removed in r71465. See #14374

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

12 years agoCorrected collection of common attributes, for clashing font size units.
Julian Smart [Mon, 4 Jun 2012 09:13:13 +0000 (09:13 +0000)] 
Corrected collection of common attributes, for clashing font size units.

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

12 years agoImplement support for wxRIBBON_PANEL_EXT_BUTTON wxRibbonPanel style.
Vadim Zeitlin [Sun, 3 Jun 2012 19:17:09 +0000 (19:17 +0000)] 
Implement support for wxRIBBON_PANEL_EXT_BUTTON wxRibbonPanel style.

Show the "extension button" in the ribbon panel if this style is specified.

Also generate a specific event if this button is clicked.

Closes #14283.

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

12 years agoAdd wxRibbonControl::GetAncestorRibbonBar() helper.
Vadim Zeitlin [Sun, 3 Jun 2012 19:17:03 +0000 (19:17 +0000)] 
Add wxRibbonControl::GetAncestorRibbonBar() helper.

New method allowing to find the ribbon bar containing the given window.

See #14283.

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

12 years agoUse wxString::t_str() in calls to Windows API functions in wxMSW.
Vadim Zeitlin [Sun, 3 Jun 2012 19:16:59 +0000 (19:16 +0000)] 
Use wxString::t_str() in calls to Windows API functions in wxMSW.

Use t_str() instead of wx_str() to make the code work correctly in UTF-8 build
in which wx_str() returns a pointer to UTF-8 buffer while we need a wchar_t
pointer for Windows.

Closes #14371.

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

12 years agoUse wxCOMPtr throughout wxWebViewIE to simplify the code and reduce the chance of...
Steve Lamerton [Sun, 3 Jun 2012 17:41:32 +0000 (17:41 +0000)] 
Use wxCOMPtr throughout wxWebViewIE to simplify the code and reduce the chance of memory leaks. Also mark PPV_ARGS_CHECK as inline so it can be used from multiple libraries.

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

12 years agoAdd support for MSVC 11 (a.k.a. MSVS 2012) to MSVC-specific setup.h.
Vadim Zeitlin [Fri, 1 Jun 2012 22:34:21 +0000 (22:34 +0000)] 
Add support for MSVC 11 (a.k.a. MSVS 2012) to MSVC-specific setup.h.

Use vc110 prefix for VC11.

Closes #14366.

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

12 years agoClear old selection when wxListBox becomes empty.
Vadim Zeitlin [Fri, 1 Jun 2012 22:34:17 +0000 (22:34 +0000)] 
Clear old selection when wxListBox becomes empty.

When UpdateOldSelections() is called from wxListBox::DoClear(), it must clear
the old selections array even for single selection list boxes, but it didn't
do this under non-MSW platforms.

Specifically check for the case of an empty listbox now and just forget the
old selections then. This fixes the problem of keeping stale old selections
and is also more efficient as we avoid the unnecessary GetSelections() call.

Really closes #14359.

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

12 years agoAdd wxMSW_CONV_LPCTSTR() and related macros and use them in wxBase.
Vadim Zeitlin [Fri, 1 Jun 2012 22:34:13 +0000 (22:34 +0000)] 
Add wxMSW_CONV_LPCTSTR() and related macros and use them in wxBase.

Add macros hiding the ugly casts needed to pass wxStrings to Windows API
functions and use them in a couple of places in wxBase to simplify the code.

Closes #14338.

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

12 years agoDisable wxUIActionSimulator wxGrid tests using mouse under wxGTK.
Vadim Zeitlin [Fri, 1 Jun 2012 16:21:08 +0000 (16:21 +0000)] 
Disable wxUIActionSimulator wxGrid tests using mouse under wxGTK.

Something is seriously wrong with simulated mouse events and wxGrid under
wxGTK, they seem to simply disappear sometimes. This results in unit tests
suite failure, so disable these tests for the next release as I just don't
understand how to fix them.

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

12 years agoAdd IsAutomaticTest() function to the unit tests.
Vadim Zeitlin [Fri, 1 Jun 2012 16:21:06 +0000 (16:21 +0000)] 
Add IsAutomaticTest() function to the unit tests.

This allows to easily test if we're running on a buildbot slave and disable
some difficult to debug test failures there.

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

12 years agoUse printf() instead of wxPrintf() in cppunit details listener.
Vadim Zeitlin [Fri, 1 Jun 2012 16:21:03 +0000 (16:21 +0000)] 
Use printf() instead of wxPrintf() in cppunit details listener.

Wide char output from wxPrintf() didn't appear at all under Linux because
stdout was switched into narrow stream mode by GNU libc due to initial use of
cout in the test.

Use printf() instead of wxPrintf() as we are only printing ASCII strings
anyhow. Of course, this is not a real fix but at least we can see the tests
results like this.

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

12 years agoCompilation fix to wxWebView under wxOSX/Carbon after r71620.
Vadim Zeitlin [Fri, 1 Jun 2012 15:25:28 +0000 (15:25 +0000)] 
Compilation fix to wxWebView under wxOSX/Carbon after r71620.

wxWindow::m_peer is private, use GetPeer() to access it.

See #14352.

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

12 years agoFix wxWebKitCtrl::RunScript() return value.
Vadim Zeitlin [Fri, 1 Jun 2012 15:25:25 +0000 (15:25 +0000)] 
Fix wxWebKitCtrl::RunScript() return value.

Replace comparisons of the type name of the returned value with isKindOfClass:
checks which are more reliable.

Closes #14358.

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

12 years agoAdd support for CP1258 (Vietnamese) and CP1361 (Korean Johab) encodings.
Vadim Zeitlin [Fri, 1 Jun 2012 11:01:46 +0000 (11:01 +0000)] 
Add support for CP1258 (Vietnamese) and CP1361 (Korean Johab) encodings.

Recognize these encodings names and translate them to/from the corresponding
charset constants in wxMSW.

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

12 years agoUse "GBK" as alternative name for CP936 encoding.
Vadim Zeitlin [Fri, 1 Jun 2012 11:01:37 +0000 (11:01 +0000)] 
Use "GBK" as alternative name for CP936 encoding.

This is the official name of this encoding, so recognize it as synonym.

See #14360.

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

12 years agoUse float instead of double division in wxHashMap code.
Vadim Zeitlin [Fri, 1 Jun 2012 11:01:34 +0000 (11:01 +0000)] 
Use float instead of double division in wxHashMap code.

We don't need double precision for determining the hash table fill rate and
using double constant also results in float-to-double promotion warnings from
gcc 4.7.

See #14362.

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

12 years agoKeep user-set wxFrame background color even if MSW system background changes.
Vadim Zeitlin [Fri, 1 Jun 2012 11:01:31 +0000 (11:01 +0000)] 
Keep user-set wxFrame background color even if MSW system background changes.

Don't override wxFrame background colour when the system background colour
changes if it was explicitly set by the user.

Closes #14364.

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

12 years agoUpdate old selections after clearing wxListBox in wxGTK.
Vadim Zeitlin [Fri, 1 Jun 2012 11:01:28 +0000 (11:01 +0000)] 
Update old selections after clearing wxListBox in wxGTK.

Don't keep stale selected item indices in m_oldSelections after clearing the
listbox, call UpdateOldSelections() from DoClear() in wxGTK just as we do in
the other ports.

Closes #14359.

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

12 years agoUse wxCLASSINFO() instead of deprecated CLASSINFO().
Vadim Zeitlin [Fri, 1 Jun 2012 11:01:24 +0000 (11:01 +0000)] 
Use wxCLASSINFO() instead of deprecated CLASSINFO().

No real changes, just use the version of the macro with a "wx" prefix.

Closes #14356.

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

12 years agoUse wxDynamicCast() instead of IsKindOf() checks.
Vadim Zeitlin [Fri, 1 Jun 2012 11:01:18 +0000 (11:01 +0000)] 
Use wxDynamicCast() instead of IsKindOf() checks.

wxDynamicCast() is less verbose (due to the absence of "CLASSINFO") and more
compatible with the standard dynamic_cast<>, so prefer to use it when possible.

See #14356.

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

12 years agoRemove unneeded dynamic cast in wxPropertyGrid.
Vadim Zeitlin [Fri, 1 Jun 2012 11:01:12 +0000 (11:01 +0000)] 
Remove unneeded dynamic cast in wxPropertyGrid.

It's completely useless to check that an object is of its own statically
declared type as this is always true, simply don't do it.

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

12 years agoRemove unnecessary dynamic cast in wxComboPopupWindow.
Vadim Zeitlin [Fri, 1 Jun 2012 11:01:09 +0000 (11:01 +0000)] 
Remove unnecessary dynamic cast in wxComboPopupWindow.

Objects of this type are either always of wxPopupTransientWindow type, in
which case just a static_cast<> is enough and we don't need a dynamic one, or
is never of its type in which case this code shouldn't be compiled and if it
is, then static_cast<> will correctly fail preventing it from compiling.

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

12 years agoDon't reset previous window event handler in PopEventHandler().
Vadim Zeitlin [Fri, 1 Jun 2012 11:01:05 +0000 (11:01 +0000)] 
Don't reset previous window event handler in PopEventHandler().

This is harmless but also useless as the previous event handler of a wxWindow
is always NULL anyhow, so simply don't do this. This is consistent with
PushEventHandler() which doesn't call SetPreviousHandler() for the window
itself neither.

Closes #14353.

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

12 years agoFix wxMac preprocessor check in wxWebView code.
Vadim Zeitlin [Fri, 1 Jun 2012 11:01:02 +0000 (11:01 +0000)] 
Fix wxMac preprocessor check in wxWebView code.

Fix typo in "__WXMAC__" in wxWebView under wxOSX/Carbon and also in
wxWebKitCtrl from where this code was copied.

Closes #14352.

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

12 years agoNo changes, just refactor wxGrid::Render() to simplify it.
Vadim Zeitlin [Fri, 1 Jun 2012 11:00:58 +0000 (11:00 +0000)] 
No changes, just refactor wxGrid::Render() to simplify it.

Introduce a couple of new helpers to make the main Render() function smaller
and more clear.

Closes #14347.

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

12 years agosilence warning about converting NULL to wxUIntPtr
Paul Cornett [Thu, 31 May 2012 16:29:30 +0000 (16:29 +0000)] 
silence warning about converting NULL to wxUIntPtr

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

12 years agosilence warning about __WXMSW__ not defined
Paul Cornett [Thu, 31 May 2012 16:28:42 +0000 (16:28 +0000)] 
silence warning about __WXMSW__ not defined

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

12 years agoA patch adding wxHTMLDataObject which can be used for handling the standard platform...
Robin Dunn [Wed, 30 May 2012 19:21:42 +0000 (19:21 +0000)] 
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

12 years agofixing build with wxUSE_PROTOCOL = 1 and wxUSE_SOCKETS = 0
Stefan Csomor [Wed, 30 May 2012 04:20:59 +0000 (04:20 +0000)] 
fixing build with wxUSE_PROTOCOL = 1 and wxUSE_SOCKETS = 0

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

12 years agoAdjust the client area origin and the client size of the MSW wxStaticBox according...
Robin Dunn [Wed, 30 May 2012 03:13:35 +0000 (03:13 +0000)] 
Adjust the client area origin and the client size of the MSW wxStaticBox according to the guidelines on http://msdn.microsoft.com/en-us/library/aa511279.aspx.  This is so widgets that are children of the static box will not overlap the label or box borders.

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

12 years agoInterface fixes for Phoenix
Robin Dunn [Wed, 30 May 2012 03:13:27 +0000 (03:13 +0000)] 
Interface fixes for Phoenix

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

12 years agoadapting char event handling to msw / gtk, see #13415, see #14197
Stefan Csomor [Tue, 29 May 2012 15:26:27 +0000 (15:26 +0000)] 
adapting char event handling to msw / gtk, see #13415, see #14197

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

12 years agoclang compat.
Stefan Csomor [Tue, 29 May 2012 15:24:50 +0000 (15:24 +0000)] 
clang compat.

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

12 years agoclang compat.
Stefan Csomor [Tue, 29 May 2012 15:18:52 +0000 (15:18 +0000)] 
clang compat.

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

12 years agoImprove wxDatePickerCtrlGeneric best size calculation.
Vadim Zeitlin [Mon, 28 May 2012 19:38:02 +0000 (19:38 +0000)] 
Improve wxDatePickerCtrlGeneric best size calculation.

Make the control just wide enough to fully show the contents of its text part.

This is still not ideal as we don't take into account wxComboCtrl internal
complications but better than before.

Closes #14342.

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

12 years agoFix bug in wxAutomationObject introduced by r71574.
Vadim Zeitlin [Mon, 28 May 2012 12:52:03 +0000 (12:52 +0000)] 
Fix bug in wxAutomationObject introduced by r71574.

Check that we have any arguments, expression oleArgs[0] is invalid otherwise.

Closes #14343.

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

12 years agoAdd wxGrid::Render() for drawing the grid to any wxDC.
Vadim Zeitlin [Sun, 27 May 2012 13:00:19 +0000 (13:00 +0000)] 
Add wxGrid::Render() for drawing the grid to any wxDC.

In particular, this allows to print the grid contents easily.

Closes #14294.

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

12 years agoAdd wxGrid::DrawRangeGridLines().
Vadim Zeitlin [Sun, 27 May 2012 13:00:13 +0000 (13:00 +0000)] 
Add wxGrid::DrawRangeGridLines().

This method draws only the grid lines for the cells in the specified range and
not for all of them.

It is not used yet but will be by the upcoming wxGrid::Render(), see #14294.

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

12 years agoNo changes, just refactor wxGrid::DrawAllGridLines().
Vadim Zeitlin [Sun, 27 May 2012 13:00:09 +0000 (13:00 +0000)] 
No changes, just refactor wxGrid::DrawAllGridLines().

Extract the actual drawing of the lines into a new DoDrawGridLines() method.

This will be used by the upcoming commits for drawing grid lines for a part of
the grid only, see #14294.

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

12 years agoFix memory leaks in wxAutomationObject::Invoke().
Vadim Zeitlin [Sun, 27 May 2012 13:00:04 +0000 (13:00 +0000)] 
Fix memory leaks in wxAutomationObject::Invoke().

Use wxVector<>, wxBasicString and wxOleVariantArg instead of raw arrays, BSTR
and VARIANT to ensure that different objects allocated by this function are
always freed when it exits.

Closes #14293.

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

12 years agoAdded full scaling to wxRTC
Julian Smart [Sat, 26 May 2012 14:17:46 +0000 (14:17 +0000)] 
Added full scaling to wxRTC

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

12 years agoFix bug with unloading wxPluginLibrary objects in "wrong" order.
Vadim Zeitlin [Sat, 26 May 2012 12:29:54 +0000 (12:29 +0000)] 
Fix bug with unloading wxPluginLibrary objects in "wrong" order.

wxPluginLibrary objects had to be unloaded in exactly the reverse order to
which they were loaded in. This was not documented and was a serious
limitation for any realistic use of plugins anyhow, so fix it and allow
unloading them in any order now.

Instead of keeping a pointer to the last wxClassInfo not created by this
plugin, now keep a pointer to the first wxClassInfo that was created by it.
This makes the code slightly more complex but this pointer, unlike the old
one, remains valid even if another plugin was unloaded.

Closes #14261.

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

12 years agoRefactor SAFEARRAY creation code in wxConvertStringFromOle().
Vadim Zeitlin [Sat, 26 May 2012 12:29:50 +0000 (12:29 +0000)] 
Refactor SAFEARRAY creation code in wxConvertStringFromOle().

No changes, just make the code simpler and more obviously correct by using a
helper class to create and fill the SAFEARRAY that we create.

Closes #14296.

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

12 years agoFix DrawChoice() behaviour in wxRendererXP.
Vadim Zeitlin [Sat, 26 May 2012 12:29:46 +0000 (12:29 +0000)] 
Fix DrawChoice() behaviour in wxRendererXP.

The implementation of wxRendererXP::DrawChoice() inadvertently used
wxRendererMSW::DrawComboBoxDropButton() and so drew the button in the classic
and not themed style.

Fix this by defining DrawChoice() in the base wxRendererMSWBase class and
reusing it in wxRendererXP via inheritance and not composition.

Closes #14337.

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

12 years agoRemove private headers from files.bkl.
Vadim Zeitlin [Sat, 26 May 2012 12:29:44 +0000 (12:29 +0000)] 
Remove private headers from files.bkl.

Private headers are not supposed to be installed because they are only use
when building wxWidgets itself, so don't list them in files.bkl.

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

12 years agoMove include/wx/osx/private/objcid.h to include/wx/osx/core.
Vadim Zeitlin [Sat, 26 May 2012 12:29:39 +0000 (12:29 +0000)] 
Move include/wx/osx/private/objcid.h to include/wx/osx/core.

This header is used by public headers and hence is not really private, move it
to a better place and add it to the list of OSX headers in the bakefile.

Closes #14339.

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

12 years agoAdd wxDataViewListCtrl::GetItemCount().
Vadim Zeitlin [Fri, 25 May 2012 17:02:40 +0000 (17:02 +0000)] 
Add wxDataViewListCtrl::GetItemCount().

This method is convenient and (almost, except for the return value) compatible
with wxListCtrl.

See #11088.

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

12 years agoAdd wxDataViewListCtrl::{Set,Get}ItemData() methods.
Vadim Zeitlin [Fri, 25 May 2012 17:02:35 +0000 (17:02 +0000)] 
Add wxDataViewListCtrl::{Set,Get}ItemData() methods.

These methods are convenient when migrating the code that previously used
wxListCtrl to wxDataViewCtrl.

Closes #11088.

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

12 years agoUse wxUIntPtr instead of wxClientData in wxDataViewListCtrl.
Vadim Zeitlin [Fri, 25 May 2012 17:02:31 +0000 (17:02 +0000)] 
Use wxUIntPtr instead of wxClientData in wxDataViewListCtrl.

Do not delete the client data in wxDataViewListCtrl, this class mainly exists
for compatibility with wxListCtrl and as the latter doesn't delete its client
data, neither should the former.

See #11088.

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

12 years agoRemove redundant wxAuiNotebook methods already present in wxBookCtrlBase.
Vadim Zeitlin [Fri, 25 May 2012 09:48:26 +0000 (09:48 +0000)] 
Remove redundant wxAuiNotebook methods already present in wxBookCtrlBase.

wxAuiNotebook already inherits perfectly workable AdvanceSelection() and
GetCurrentPage() methods from wxBookCtrlBase, no need to reimplement them in
it.

See #14309.

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

12 years agoDon't send a huge number of unneeded wxChildFocusEvents.
Vadim Zeitlin [Fri, 25 May 2012 09:48:22 +0000 (09:48 +0000)] 
Don't send a huge number of unneeded wxChildFocusEvents.

wxControlContainer::SetLastFocus() propagated wxChildFocusEvent explicitly to
its parent but this is not needed because wxChildFocusEvents propagate by
default, being derived from wxCommandEvent. And doing it again resulted in the
total number of events increasing exponentially with the depth of the window
hierarchy and real performance problems due to processing all of them.

Closes #14310.

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

12 years agoSuppress warnings about gnome_print_dialog_get_range() return type.
Vadim Zeitlin [Fri, 25 May 2012 09:48:20 +0000 (09:48 +0000)] 
Suppress warnings about gnome_print_dialog_get_range() return type.

This function seems to be declared incorrectly and while it actually does
return the values we compare its return value with, it's prototyped with a
wrong enum as return type, so explicitly cast it to int to avoid warnings
from recent g++ versions.

See http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/115782/focus=115955

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

12 years agoFully implement wxStyledTextCtrl::PositionToXY().
Vadim Zeitlin [Fri, 25 May 2012 09:48:16 +0000 (09:48 +0000)] 
Fully implement wxStyledTextCtrl::PositionToXY().

Fill in the column parameter too now.

Closes #14332.

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

12 years agoFix calculation of wxStyledTextCtrl selection size in GetSelectedText().
Vadim Zeitlin [Fri, 25 May 2012 09:48:12 +0000 (09:48 +0000)] 
Fix calculation of wxStyledTextCtrl selection size in GetSelectedText().

Do the same changes as were done in r71540 to GetSelectedTextRaw() in
GetSelectedText() itself by modifying the code in gen_iface.py that generates
it.

Closes #14331.

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

12 years agoSeveral fixes for wxAffineMatrix2D transformations.
Vadim Zeitlin [Fri, 25 May 2012 09:48:09 +0000 (09:48 +0000)] 
Several fixes for wxAffineMatrix2D transformations.

Correct errors in TransformPoint() and TransformDistance().

Change Rotate() to interpret positive angles as rotating clockwise, for
consistency with wxGraphicsContext::Rotate().

Improve the unit test to verify that all the transformations work correctly.

Closes #14334.

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

12 years agoChanges to allow these build scripts to use python3
Robin Dunn [Thu, 24 May 2012 23:26:34 +0000 (23:26 +0000)] 
Changes to allow these build scripts to use python3

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

12 years agoInterface fixes for Phoenix
Robin Dunn [Thu, 24 May 2012 23:26:27 +0000 (23:26 +0000)] 
Interface fixes for Phoenix

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

12 years agoDocument that SetFocus() can't be called from EVT_KILL_FOCUS handler.
Vadim Zeitlin [Thu, 24 May 2012 23:21:19 +0000 (23:21 +0000)] 
Document that SetFocus() can't be called from EVT_KILL_FOCUS handler.

Also explain how to use wxIdleEvent for "delated action".

See #14335.

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

12 years agoFix wxBase compilation with UTF-8-based wxString under MSW.
Vadim Zeitlin [Wed, 23 May 2012 21:16:45 +0000 (21:16 +0000)] 
Fix wxBase compilation with UTF-8-based wxString under MSW.

Use wxString::t_str() instead of wx_str() in Windows API function calls.

Closes #14325.

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

12 years agoDon't use wxCHECK_W32API_VERSION() in #if when it can be undefined.
Vadim Zeitlin [Wed, 23 May 2012 21:16:41 +0000 (21:16 +0000)] 
Don't use wxCHECK_W32API_VERSION() in #if when it can be undefined.

wxCHECK_W32API_VERSION() is only defined when using MinGW, don't use it an #if
test which is always parsed but only in a separate test inside #ifdef __GNUG__
test which is parsed only when we do use MinGW.

This fixes harmless but annoying warning from MSVC 10.

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

12 years agoNo real changes, just slightly simplify HasAppKit_10_6() function.
Vadim Zeitlin [Wed, 23 May 2012 21:16:38 +0000 (21:16 +0000)] 
No real changes, just slightly simplify HasAppKit_10_6() function.

Remove redundant check for version == -1.

See #13831.

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

12 years agoCompilation fix for wxUSE_STL && !wxUSE_STL_BASED_WXSTRING build.
Vadim Zeitlin [Wed, 23 May 2012 21:16:35 +0000 (21:16 +0000)] 
Compilation fix for wxUSE_STL && !wxUSE_STL_BASED_WXSTRING build.

Don't rely on implicit wxString to "const char*" conversion in Replace().

Closes #14327.

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

12 years agoDocument that wxClipboard::Flush() is not implemented in wxGTK.
Vadim Zeitlin [Wed, 23 May 2012 21:16:31 +0000 (21:16 +0000)] 
Document that wxClipboard::Flush() is not implemented in wxGTK.

See #10515.

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

12 years agoDocument "raw control" use with accelerators.
Vadim Zeitlin [Wed, 23 May 2012 21:16:28 +0000 (21:16 +0000)] 
Document "raw control" use with accelerators.

Mention it in the places where the other accelerator prefixes are documented.

See #13496.

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

12 years agoFix calculation of the wxStyledTextCtrl selection size.
Vadim Zeitlin [Wed, 23 May 2012 21:16:24 +0000 (21:16 +0000)] 
Fix calculation of the wxStyledTextCtrl selection size.

Use SCI_GETSELTEXT to compute the size of the buffer instead of doing it
ourselves, especially as we do it incorrectly in case of rectangular
selection.

Closes #14331.

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

12 years agoNo real changes, just backwards propagate the changes to stc.cpp.
Vadim Zeitlin [Wed, 23 May 2012 21:16:22 +0000 (21:16 +0000)] 
No real changes, just backwards propagate the changes to stc.cpp.

Apply the changes done directly to stc.cpp in r71428 and r71429 to the script
generating this code.

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

12 years agoFix removing event handler filters in wxEvtHandler.
Vadim Zeitlin [Wed, 23 May 2012 20:36:08 +0000 (20:36 +0000)] 
Fix removing event handler filters in wxEvtHandler.

Removal from the simply linked list of event filters wasn't done correctly as
the pointer to the previous node was never updated.

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

12 years agoFix compilation when wxUSE_DRAG_AND_DROP=0
Jouk Jansen [Tue, 22 May 2012 07:37:10 +0000 (07:37 +0000)] 
Fix compilation when wxUSE_DRAG_AND_DROP=0

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

12 years agoInterface fixes for Phoenix
Robin Dunn [Tue, 22 May 2012 00:17:03 +0000 (00:17 +0000)] 
Interface fixes for Phoenix

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

12 years agoAllow for compilation with wxUSE_TOOLTIPS=0
Jouk Jansen [Mon, 21 May 2012 08:39:03 +0000 (08:39 +0000)] 
Allow for compilation with wxUSE_TOOLTIPS=0

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