]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
13 years agoCorrect wrong port-specific note in AutoCompleteFileNames() documentation.
Vadim Zeitlin [Sun, 17 Apr 2011 23:15:04 +0000 (23:15 +0000)] 
Correct wrong port-specific note in AutoCompleteFileNames() documentation.

This function is only implemented in wxMSW, not wxGTK2.

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

13 years agoImplement auto-completion support for wxTextEntry in wxOSX/Cocoa.
Vadim Zeitlin [Sun, 17 Apr 2011 23:14:15 +0000 (23:14 +0000)] 
Implement auto-completion support for wxTextEntry in wxOSX/Cocoa.

Both completing a set of fixed strings and dynamic completion using a custom
completer are supported, although completing the file names remains MSW-only
for now.

Note that, unlike under MSW, auto-completion under Mac is not automatic and
has to be triggered manually by calling complete: method. This is done by
pressing F5 key by default. In the future we should call it automatically on a
timer event to make it more obviously discoverable.

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

13 years agoRefactor: extract wxTextCompleterFixed from wxMSW to a header.
Vadim Zeitlin [Sun, 17 Apr 2011 23:14:11 +0000 (23:14 +0000)] 
Refactor: extract wxTextCompleterFixed from wxMSW to a header.

This class will be used in other ports too so don't make it private to wxMSW
(although it still remains private to wxWidgets for now as it doesn't make
much sense to use it in user code).

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

13 years agoRemoved wxOSX conditional code from generic calendar control.
Dimitri Schoolwerth [Sun, 17 Apr 2011 21:47:56 +0000 (21:47 +0000)] 
Removed wxOSX conditional code from generic calendar control.

Tested the calendar sample with Cocoa and Carbon to determine the behaviour and looks are still the same.

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

13 years agoImproved year control of generic calendar being too narrow when using a locale with...
Dimitri Schoolwerth [Sun, 17 Apr 2011 21:46:22 +0000 (21:46 +0000)] 
Improved year control of generic calendar being too narrow when using a locale with long month names.

See #11444.

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

13 years agoRemoved invalid use of sizeFlags parameter for SetSize call in generic calendar control.
Dimitri Schoolwerth [Sun, 17 Apr 2011 21:45:36 +0000 (21:45 +0000)] 
Removed invalid use of sizeFlags parameter for SetSize call in generic calendar control.

In r39715 the height parameter of a call to SetSize was changed to -1, however the previous coordinate value remained and became the fifth parameter which represents bit flags. Simply removed the fifth parameter.

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

13 years agoAdd wxAffineMatrix2D and related classes.
Vadim Zeitlin [Sun, 17 Apr 2011 00:09:56 +0000 (00:09 +0000)] 
Add wxAffineMatrix2D and related classes.

This class represents an affine 2D transformation and will be used in wxDC for
now and maybe in wxGC later.

Closes #13143.

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

13 years agoFix wxXmlDocument::SetRoot() broken by recent changes.
Vadim Zeitlin [Sun, 17 Apr 2011 00:09:45 +0000 (00:09 +0000)] 
Fix wxXmlDocument::SetRoot() broken by recent changes.

Support for wxXML_PI_NODE introduced in r67346 broke SetRoot() and, because of
this, saving XML documents.

Correct this and add a unit test for this method.

Closes #13135.

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

13 years agoDefine wxTextEntry::DoAutoCompleteStrings() stub in wxMSW code too.
Vadim Zeitlin [Sat, 16 Apr 2011 23:17:44 +0000 (23:17 +0000)] 
Define wxTextEntry::DoAutoCompleteStrings() stub in wxMSW code too.

Forgot to define this function in !HAS_AUTOCOMPLETE case. This fixes linking
problems with old compilers/headers such as VC6 with its original SDK.

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

13 years agoSplit wxTextCompleter into a base class and wxTextCompleterSimple.
Vadim Zeitlin [Sat, 16 Apr 2011 17:27:34 +0000 (17:27 +0000)] 
Split wxTextCompleter into a base class and wxTextCompleterSimple.

Allow overriding either the iterator-like methods of the base class or the
single and possibly more convenient, albeit slightly less efficient, method of
the derived wxTextCompleterSimple class.

This makes it possible to completely delegate to wxTextCompleter from wxMSW
IEnumString implementation and actually makes the code there easier, even if
it it still not quite trivial because of multi-threading concerns.

It also would make it possible to show the completions progressively, as they
are retrieved, in a future generic implementation of auto-completion (MSW
native implementation doesn't do this unfortunately and waits until all of the
completions become available before showing them).

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

13 years agoDon't block the main UI thread while generating completions in wxMSW.
Vadim Zeitlin [Sat, 16 Apr 2011 17:27:30 +0000 (17:27 +0000)] 
Don't block the main UI thread while generating completions in wxMSW.

The native IAutoComplete implementation takes care to retrieve the completions
from a background thread to prevent the UI from freezing while they're being
generated, but we worked against it by always generating all the completions
from the main thread and just enumerating them from the background one.

Change this now and call wxTextCompleter::GetCompletions() method from the
background thread itself to never block the main one.

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

13 years agoUse ACO_AUTOAPPEND option for text completion in wxMSW.
Vadim Zeitlin [Sat, 16 Apr 2011 17:27:26 +0000 (17:27 +0000)] 
Use ACO_AUTOAPPEND option for text completion in wxMSW.

This option appends the first candidate completion value to the text control
itself making it more user-friendly as it reduces the amount of typing needed
to enter it.

See #11465.

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

13 years agoAdded private wxEVT_AFTER_CHAR event for wxMSW implementation needs.
Vadim Zeitlin [Sat, 16 Apr 2011 17:27:21 +0000 (17:27 +0000)] 
Added private wxEVT_AFTER_CHAR event for wxMSW implementation needs.

This event is sent by wxMSW after the default handling of WM_CHAR has taken
place. It can be used to define an event handler triggered by key presses and
having access to the new value of the control, updated to take the last key
press into account.

This event will be used by auto-completion implementation for wxMSW only for
now.

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

13 years agoAdd support for dynamic auto-completion in wxTextEntry.
Vadim Zeitlin [Sat, 16 Apr 2011 17:27:16 +0000 (17:27 +0000)] 
Add support for dynamic auto-completion in wxTextEntry.

Add wxTextCompleter class which allows to return the possible completions
dynamically and wxTextCompleter::AutoComplete() overload using it. So far this
is only implemented for wxMSW.

Also fix calling wxTextEntry::AutoComplete(wxArrayString) multiple times under
MSW, this didn't correctly update the list of shown completions before.

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

13 years agoNo changes, just simplify preprocessor checks in wxMSW wxTextEntry.
Vadim Zeitlin [Sat, 16 Apr 2011 17:27:11 +0000 (17:27 +0000)] 
No changes, just simplify preprocessor checks in wxMSW wxTextEntry.

Separate !HAS_AUTOCOMPLETE stub versions from the real one as the code was
too difficult to read otherwise and would become even more so after the
addition of the upcoming custom auto-completer support.

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

13 years agoRefactor wxTextEntry::AutoComplete() to simply call DoAutoCompleteXXX().
Vadim Zeitlin [Sat, 16 Apr 2011 17:27:04 +0000 (17:27 +0000)] 
Refactor wxTextEntry::AutoComplete() to simply call DoAutoCompleteXXX().

No real changes, just make the public AutoComplete() non-virtual and add
virtual DoAutoCompleteXXX() methods to make it easier to add new public
AutoComplete() overloads in the upcoming commits.

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

13 years agoadding missing part when using the native paint CGContextRef on osx, see #11853
Stefan Csomor [Sat, 16 Apr 2011 16:59:44 +0000 (16:59 +0000)] 
adding missing part when using the native paint CGContextRef on osx, see #11853

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

13 years agosupprting flag for pixel offsetting for msw, see #11853
Stefan Csomor [Sat, 16 Apr 2011 13:07:11 +0000 (13:07 +0000)] 
supprting flag for pixel offsetting for msw, see #11853

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

13 years agosupprting flag for pixel offsetting for osx, see #11853
Stefan Csomor [Sat, 16 Apr 2011 13:05:17 +0000 (13:05 +0000)] 
supprting flag for pixel offsetting for osx, see #11853

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

13 years agosupprting flag for pixel offsetting for cairo, see #11853
Stefan Csomor [Sat, 16 Apr 2011 12:47:22 +0000 (12:47 +0000)] 
supprting flag for pixel offsetting for cairo, see #11853

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

13 years agosupport generic flag for pixel offsetting, see #11853
Stefan Csomor [Sat, 16 Apr 2011 12:21:37 +0000 (12:21 +0000)] 
support generic flag for pixel offsetting, see #11853

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

13 years agoReplaced C++ comments with C ones in C files.
Dimitri Schoolwerth [Fri, 15 Apr 2011 19:18:34 +0000 (19:18 +0000)] 
Replaced C++ comments with C ones in C files.

Replaced C++ comments (occurring outside of __cplusplus blocks) in files that contain the warning "THIS IS A C FILE" with C comments.

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

13 years agoworkaround for broken window managers which claim to support _NET_REQUEST_FRAME_EXTEN...
Paul Cornett [Fri, 15 Apr 2011 18:31:57 +0000 (18:31 +0000)] 
workaround for broken window managers which claim to support _NET_REQUEST_FRAME_EXTENTS, but don't respond to it
see #13146

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

13 years agoRemoved wxPG_DOUBLE_BUFFER constant. Now all wxPG rendering is done double-buffered...
Jaakko Salli [Fri, 15 Apr 2011 09:23:23 +0000 (09:23 +0000)] 
Removed wxPG_DOUBLE_BUFFER constant. Now all wxPG rendering is done double-buffered, regardless of the platform. Code path with wxPG_DOUBLE_BUFFER = 0 did not render correctly (fixes #13140). In future should probably use wxAutoBufferedPaintDC or something similar, but this will require non-trivial code changes and testing.

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

13 years agoRebuild textctrl events using copy ctor
Jaakko Salli [Thu, 14 Apr 2011 13:22:40 +0000 (13:22 +0000)] 
Rebuild textctrl events using copy ctor

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

13 years agowxEVT_COMMAND_TEXT_UPDATED events from wxComboCtrl's embedded wxTextCtrl kept confusi...
Jaakko Salli [Wed, 13 Apr 2011 16:39:06 +0000 (16:39 +0000)] 
wxEVT_COMMAND_TEXT_UPDATED events from wxComboCtrl's embedded wxTextCtrl kept confusing wxPropertyGrid::HandleCustomEditorEvent(). We need to ignore them.

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

13 years agoCompletely re-construct the wxComboCtrl textctrl-events instead of just redirecting...
Jaakko Salli [Wed, 13 Apr 2011 16:35:59 +0000 (16:35 +0000)] 
Completely re-construct the wxComboCtrl textctrl-events instead of just redirecting them

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

13 years agopreparing for completions support
Stefan Csomor [Wed, 13 Apr 2011 09:22:17 +0000 (09:22 +0000)] 
preparing for completions support

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

13 years agoDescribe what re-implemented wxComboPopup::DestroyPopup() should do
Jaakko Salli [Tue, 12 Apr 2011 09:35:04 +0000 (09:35 +0000)] 
Describe what re-implemented wxComboPopup::DestroyPopup() should do

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

13 years agoUpdate Makefile for OpenVMS
Jouk Jansen [Mon, 11 Apr 2011 10:23:37 +0000 (10:23 +0000)] 
Update Makefile for OpenVMS

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

13 years agorevoke OpenVMS dependend part of r67326
Jouk Jansen [Mon, 11 Apr 2011 09:36:56 +0000 (09:36 +0000)] 
revoke OpenVMS dependend part of r67326

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

13 years agoRe-define push_back() in wxSortedArrayString to behave correctly.
Vadim Zeitlin [Sun, 10 Apr 2011 15:36:07 +0000 (15:36 +0000)] 
Re-define push_back() in wxSortedArrayString to behave correctly.

Adding items to wxSortedArrayString should always keep them sorted but while
Add() did this, push_back() didn't breaking the class invariant.

Redefine push_back() in _WX_DEFINE_SORTED_TYPEARRAY_2 macro to fix this and
add a unit test checking that wxSortedArrayString::push_back() does work now.

Closes #13134.

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

13 years agoAllow customizing AUI tab colours in wxAuiTabArt.
Vadim Zeitlin [Sun, 10 Apr 2011 15:36:03 +0000 (15:36 +0000)] 
Allow customizing AUI tab colours in wxAuiTabArt.

Add wxAuiTabArt::SetColour() and SetActiveColour() methods and provide trivial
default implementation of them in wxAuiDefaultTabArt to allow customizing the
tab colours.

Closes #11411.

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

13 years agoFix off by one pixel error when drawing active tab in wxAUI.
Vadim Zeitlin [Sun, 10 Apr 2011 15:36:00 +0000 (15:36 +0000)] 
Fix off by one pixel error when drawing active tab in wxAUI.

The active tab had a drawing artefact because its gradient background was
drawn in a rectangle one pixel too short.

See #11411.

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

13 years agoCorrect Javanese language code.
Vadim Zeitlin [Sun, 10 Apr 2011 15:35:56 +0000 (15:35 +0000)] 
Correct Javanese language code.

It is "jv" and not "jw", the latter was an error in a previous edition of ISO
639 standard and was corrected since then.

Closes #13131.

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

13 years agoCorrection to position in character insertion event when also deleting selected text.
Julian Smart [Sat, 9 Apr 2011 10:28:45 +0000 (10:28 +0000)] 
Correction to position in character insertion event when also deleting selected text.

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

13 years agofixing configure builds for iphone
Stefan Csomor [Sat, 9 Apr 2011 09:22:51 +0000 (09:22 +0000)] 
fixing configure builds for iphone

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

13 years agosee #9715
Stefan Csomor [Fri, 8 Apr 2011 16:31:12 +0000 (16:31 +0000)] 
see #9715

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

13 years agoworkaround OSX bug, fixes #4555
Stefan Csomor [Fri, 8 Apr 2011 15:09:38 +0000 (15:09 +0000)] 
workaround OSX bug, fixes #4555

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

13 years agosupport 3.X deployment
Stefan Csomor [Fri, 8 Apr 2011 12:16:41 +0000 (12:16 +0000)] 
support 3.X deployment

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

13 years agoUpdate OpenVMS compile support
Jouk Jansen [Fri, 8 Apr 2011 08:08:10 +0000 (08:08 +0000)] 
Update OpenVMS compile support

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

13 years agoadding 10.5 APIs to avoid CGErrors, fixes #13121
Stefan Csomor [Thu, 7 Apr 2011 12:55:36 +0000 (12:55 +0000)] 
adding 10.5 APIs to avoid CGErrors, fixes #13121

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

13 years agobuild fix for wxUSE_LOG==0
Paul Cornett [Wed, 6 Apr 2011 17:04:12 +0000 (17:04 +0000)] 
build fix for wxUSE_LOG==0

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

13 years agoavoid GCC warning "suggest braces around empty body in an ‘else’ statement"
Paul Cornett [Wed, 6 Apr 2011 17:03:31 +0000 (17:03 +0000)] 
avoid GCC warning "suggest braces around empty body in an ‘else’ statement"

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

13 years agofix typo from r67326
Paul Cornett [Wed, 6 Apr 2011 17:02:28 +0000 (17:02 +0000)] 
fix typo from r67326

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

13 years agoFix vararg function in wxXml unit test broken by recent changes.
Vadim Zeitlin [Wed, 6 Apr 2011 16:37:24 +0000 (16:37 +0000)] 
Fix vararg function in wxXml unit test broken by recent changes.

The changes in r67345 changed CheckXml() vararg function to take a reference
as the first argument but this doesn't work with va_start(), so revert to
using a pointer here.

This fixes the current unit test failures in the XML tests.

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

13 years agoAvoid dereferencing invalid iterator in wxMessageDialog code.
Vadim Zeitlin [Wed, 6 Apr 2011 14:37:36 +0000 (14:37 +0000)] 
Avoid dereferencing invalid iterator in wxMessageDialog code.

The iterator wxString::rbegin().base()+1 is invalid so check that we don't use
it.

Closes #13126.

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

13 years agoCorrectly restore the old locale in wxXLocale functions.
Vadim Zeitlin [Wed, 6 Apr 2011 14:37:32 +0000 (14:37 +0000)] 
Correctly restore the old locale in wxXLocale functions.

In non-wxHAS_XLOCALE_SUPPORT case we didn't restore the original locale
correctly in wxStrtoxxx_l() functions as the return value of wxSetlocale() was
incorrectly assumed to be the old locale instead of the new one.

Fix this and also replace the macros used by the old code with a small helper
class, this simplifies the code and is less ugly.

Finally add a unit test which failed before these changes when the program ran
in any non-C locale but passes now.

Closes #13117.

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

13 years agoFix incorrect use of setlocale() in wxLocale::IsAvailable().
Vadim Zeitlin [Wed, 6 Apr 2011 14:37:27 +0000 (14:37 +0000)] 
Fix incorrect use of setlocale() in wxLocale::IsAvailable().

The return value of setlocale() was used incorrectly in this code: it
represents the newly set locale and not the previously active one so we didn't
actually restore the original locale before.

Fix the code and check that we do actually restore the locale in a new unit
test for it.

See #13117.

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

13 years agoUpdate OpenVMS compile support
Jouk Jansen [Wed, 6 Apr 2011 08:53:57 +0000 (08:53 +0000)] 
Update OpenVMS compile support

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

13 years agoFix for broken wxGTK1 compilation
Jouk Jansen [Wed, 6 Apr 2011 08:47:45 +0000 (08:47 +0000)] 
Fix for broken wxGTK1 compilation

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

13 years agoDon't do anything in WX_ASSERT_FAILS_WITH_ASSERT when wxDEBUG_LEVEL==0.
Vadim Zeitlin [Tue, 5 Apr 2011 22:29:58 +0000 (22:29 +0000)] 
Don't do anything in WX_ASSERT_FAILS_WITH_ASSERT when wxDEBUG_LEVEL==0.

We can't test for assert failure when using a build of wxWidgets in which
asserts don't exist at all.

Closes #13119.

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

13 years agoFix VarArgTestCase compilation when type traits are unavailable.
Vadim Zeitlin [Tue, 5 Apr 2011 22:29:55 +0000 (22:29 +0000)] 
Fix VarArgTestCase compilation when type traits are unavailable.

When type traits are unavailable we can't check whether a type can be passed
to a vararg function but we still need to pass a copyable object to
wxString::Format() for the code to compile, even if we just want to check that
it will fail with the assert at run-time.

Closes #13118.

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

13 years agobuild fix for gtk1
Paul Cornett [Tue, 5 Apr 2011 15:50:54 +0000 (15:50 +0000)] 
build fix for gtk1

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

13 years agoCompilation fixes for wxUSE_LOCALE and wxUSE_XLOCALE set to 0.
Dimitri Schoolwerth [Mon, 4 Apr 2011 22:07:42 +0000 (22:07 +0000)] 
Compilation fixes for wxUSE_LOCALE and wxUSE_XLOCALE set to 0.

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

13 years agoCorrected XML conversion in style names and face names
Julian Smart [Mon, 4 Apr 2011 17:56:53 +0000 (17:56 +0000)] 
Corrected XML conversion in style names and face names

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

13 years agoFurther commenting
Julian Smart [Mon, 4 Apr 2011 17:55:56 +0000 (17:55 +0000)] 
Further commenting

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

13 years agoChanged licence references to "wxWindows licence".
Dimitri Schoolwerth [Mon, 4 Apr 2011 09:21:52 +0000 (09:21 +0000)] 
Changed licence references to "wxWindows licence".

Use "wxWindows licence" and not "wxWidgets licence" and also use British spelling for licence. Updated new occurrences in recently added files and a couple of previously (r64940) missed ones.

See #12165.

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

13 years agoFixed failing image test.
Dimitri Schoolwerth [Sun, 3 Apr 2011 22:41:58 +0000 (22:41 +0000)] 
Fixed failing image test.

ImageTestCase::DibPadding was always failing due to differences in pixel data between the decoded GIF and encoded ICO image. Instead of comparing image content just check if the saving of the ICO succeeds (prior to r67296 it would crash).

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

13 years agoNo code changes, fixed forgotten typo that is a part of r67384.
Dimitri Schoolwerth [Sun, 3 Apr 2011 20:52:18 +0000 (20:52 +0000)] 
No code changes, fixed forgotten typo that is a part of r67384.

See #13076.

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

13 years agoNo code changes, fixed various typos.
Dimitri Schoolwerth [Sun, 3 Apr 2011 20:31:32 +0000 (20:31 +0000)] 
No code changes, fixed various typos.

Applied patch by snowleopard2 fixing typos in interface/. Extended the fixes throughout trunk.

Closes #13076.

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

13 years agoFor wxGTK2, link with X11 explicitly, since we use many X11 functions directly.
Paul Cornett [Sun, 3 Apr 2011 05:19:59 +0000 (05:19 +0000)] 
For wxGTK2, link with X11 explicitly, since we use many X11 functions directly.
Some linkers, notably newer Linux ones, don't implicitly link against dependent libs
Fixes #13100

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

13 years agoDisable wxUSE_STD_CONTAINERS by default for MSVC6.
Vadim Zeitlin [Sat, 2 Apr 2011 23:31:27 +0000 (23:31 +0000)] 
Disable wxUSE_STD_CONTAINERS by default for MSVC6.

This compiler can't compile its own standard headers with the default options
as it overflows an internal heap. Disable the use of standard containers by
default for it to avoid this problem and indicate that /Zm option must be used
to avoid this.

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

13 years agomake sure value label updates even if handle position does not change, fixes #13042
Paul Cornett [Sat, 2 Apr 2011 22:19:44 +0000 (22:19 +0000)] 
make sure value label updates even if handle position does not change, fixes #13042

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

13 years agoneed to override DoGetBestClientSize() to get correct size, fixes #13088
Paul Cornett [Sat, 2 Apr 2011 20:43:29 +0000 (20:43 +0000)] 
need to override DoGetBestClientSize() to get correct size, fixes #13088

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

13 years agofix overwrite of upper left part of parent window with sunken/raised border, fixes...
Paul Cornett [Sat, 2 Apr 2011 18:28:52 +0000 (18:28 +0000)] 
fix overwrite of upper left part of parent window with sunken/raised border, fixes #13072

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

13 years agoNo real changes, just some more minor cleanup in wxSVGFileDC.
Vadim Zeitlin [Sat, 2 Apr 2011 16:38:04 +0000 (16:38 +0000)] 
No real changes, just some more minor cleanup in wxSVGFileDC.

Harmonize spaces, remove unnecessary semicolons, remove useless return
statements from void functions.

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

13 years agoRemove wxSVG_DEBUG from wxSVGFileDC.
Vadim Zeitlin [Sat, 2 Apr 2011 16:38:02 +0000 (16:38 +0000)] 
Remove wxSVG_DEBUG from wxSVGFileDC.

Remove the weird wxSVG_DEBUG which could apparently be used to trace the code
execution by triggering asserts in all functions. This is really not the right
way to implement tracing and seems pretty useless, just remove it.

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

13 years agoClean up of string operations in wxSVGFileDC code.
Vadim Zeitlin [Sat, 2 Apr 2011 16:37:58 +0000 (16:37 +0000)] 
Clean up of string operations in wxSVGFileDC code.

Use operator+=() instead of "s = s + ...".

See #13086.

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

13 years agoAdd support for alpha channel in colours in wxSVGFileDC.
Vadim Zeitlin [Sat, 2 Apr 2011 16:37:54 +0000 (16:37 +0000)] 
Add support for alpha channel in colours in wxSVGFileDC.

Use stroke-opacity and fill-opacity SVG attributes to handle pens and brushes
created from colours with alpha channel in wxSVGFileDC.

Closes #13086.

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

13 years agoNo changes, just merge some strings in wxSVGFileDC.
Vadim Zeitlin [Sat, 2 Apr 2011 16:37:50 +0000 (16:37 +0000)] 
No changes, just merge some strings in wxSVGFileDC.

Concatenate string literals at compile-time instead of run-time.

See #13086.

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

13 years agoUse wxPENSTYLE_XXX and wxBRUSHSTYLE_XXX instead of wxXXX constants.
Vadim Zeitlin [Sat, 2 Apr 2011 16:37:44 +0000 (16:37 +0000)] 
Use wxPENSTYLE_XXX and wxBRUSHSTYLE_XXX instead of wxXXX constants.

Use non-deprecated constants in wxMSW wxGC code.

Closes #13109.

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

13 years agobuild fix for GTK1 after r67299
Paul Cornett [Fri, 1 Apr 2011 16:20:17 +0000 (16:20 +0000)] 
build fix for GTK1 after r67299

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

13 years agoAdded wxComboPopup::DestroyPopup(), which responsibility is to call Destroy() for...
Jaakko Salli [Thu, 31 Mar 2011 17:22:51 +0000 (17:22 +0000)] 
Added wxComboPopup::DestroyPopup(), which responsibility is to call Destroy() for the popup control and also delete the combo popup object itself. The default implementation should be able to handle common cases.

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

13 years agoBuffer size calculation correction
Julian Smart [Thu, 31 Mar 2011 13:11:14 +0000 (13:11 +0000)] 
Buffer size calculation correction

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

13 years agoUpdate configuration for OpenVMS
Jouk Jansen [Thu, 31 Mar 2011 10:52:30 +0000 (10:52 +0000)] 
Update configuration for OpenVMS

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

13 years agoCompilation fix for wxUSE_STL==1 build after r67356.
Vadim Zeitlin [Thu, 31 Mar 2011 10:08:41 +0000 (10:08 +0000)] 
Compilation fix for wxUSE_STL==1 build after r67356.

An explicit conversion to char* is required in wxUSE_STL build.

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

13 years agoImplement wxGraphicsContext::GetSize() for Cairo.
Vadim Zeitlin [Thu, 31 Mar 2011 09:38:03 +0000 (09:38 +0000)] 
Implement wxGraphicsContext::GetSize() for Cairo.

As the implementation of this method is basically the same for all ports move
it to the base class itself instead of requiring the derived classes to
implement it. Now the derived classes need to fill in m_width and m_height
members instead.

Do fill them when creating wxGraphicsContext in Cairo version.

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

13 years agoTentative compilation fix for wxMSW with MinGW after STL changes.
Vadim Zeitlin [Thu, 31 Mar 2011 09:37:59 +0000 (09:37 +0000)] 
Tentative compilation fix for wxMSW with MinGW after STL changes.

Include wx/stack.h, which includes the standard <stack> header, before
<windows.h> as the latter redefines min and max as macros conflicting with the
standard headers.

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

13 years agoAdd wx/msw/panel.h to the list of wxMSW headers in bakefile.
Vadim Zeitlin [Thu, 31 Mar 2011 09:28:47 +0000 (09:28 +0000)] 
Add wx/msw/panel.h to the list of wxMSW headers in bakefile.

Also move src/msw/panel.cpp to the list of normal wxMSW sources from the list
of low-level ones as it's not needed by wxUniv.

Closes #13103.

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

13 years agoFix alpha handling in CSS syntax in wxColour in non-"C" locale.
Vadim Zeitlin [Thu, 31 Mar 2011 09:28:41 +0000 (09:28 +0000)] 
Fix alpha handling in CSS syntax in wxColour in non-"C" locale.

Use locale-independent functions to parse and generate the floating point
alpha representation in CSS syntax for colours to make it work in locales
which don't use period as decimal separator.

Closes #13077.

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

13 years agoFix HMENU to wxMenu translation in wxMSW code.
Vadim Zeitlin [Thu, 31 Mar 2011 09:28:38 +0000 (09:28 +0000)] 
Fix HMENU to wxMenu translation in wxMSW code.

We didn't find the menus corresponding to the submenu handles. This resulted
in incorrect processing of EVT_UPDATE_UI events for the submenus and probably
other problems.

Fix this by searching for the HMENU recursively in all menus.

Closes #13080.

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

13 years agoDocument unexpected wxWindowDisabler taskbar UI in wxMSW.
Vadim Zeitlin [Thu, 31 Mar 2011 09:28:34 +0000 (09:28 +0000)] 
Document unexpected wxWindowDisabler taskbar UI in wxMSW.

It may be unexpected that the application can still be closed from the taskbar
even if its main window is disabled. Mention this in the documentation and
indicate how to prevent this from happening if required.

Closes #13081.

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

13 years agoCorrect wxGraphicsContext::StrokeLines(n, points) documentation.
Vadim Zeitlin [Thu, 31 Mar 2011 09:28:30 +0000 (09:28 +0000)] 
Correct wxGraphicsContext::StrokeLines(n, points) documentation.

This method draws a single polyline.

Closes #13099.

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

13 years agoRemove REMOVE_UNUSED_ARG option from setup.h files.
Vadim Zeitlin [Wed, 30 Mar 2011 14:16:25 +0000 (14:16 +0000)] 
Remove REMOVE_UNUSED_ARG option from setup.h files.

This identifier wasn't used anywhere as WXUNUSED() is always defined as
nothing for all compilers since quite some time.

Also moved wxUSE_IOSTREAMH together with the other wxUSE_STD_XXX options and
removed the "compiler (mis)features" section which became empty after doing
this.

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

13 years agoAdd support for elements preceding the document node in wxXML.
Vadim Zeitlin [Wed, 30 Mar 2011 14:16:19 +0000 (14:16 +0000)] 
Add support for elements preceding the document node in wxXML.

This is mainly useful for parsing and generating processing instructions but
can be used for any kind of elements, e.g. also comments, occurring before the
document node in XML documents.

Closes #11593.

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

13 years agoFix memory leaks in wxXml unit test.
Vadim Zeitlin [Wed, 30 Mar 2011 14:16:13 +0000 (14:16 +0000)] 
Fix memory leaks in wxXml unit test.

Ensure that the root wxXmlNode is deleted by storing it in a wxScopedPtr
instead of a raw pointer.

See #11593.

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

13 years agoAlways update internally stored AUI floating frame position.
Vadim Zeitlin [Wed, 30 Mar 2011 14:16:07 +0000 (14:16 +0000)] 
Always update internally stored AUI floating frame position.

Update the internally stored position of a floating AUI frame even if the user
is dragging it too fast to update its position on screen. This prevents the
frame from snapping back to the initial position when movement is over.

Closes #13014.

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

13 years agoAdd wxUSE_STD_CONTAINERS and turn it on by default.
Vadim Zeitlin [Wed, 30 Mar 2011 14:16:04 +0000 (14:16 +0000)] 
Add wxUSE_STD_CONTAINERS and turn it on by default.

Previously, wxUSE_STL enabled both implicit conversion of wxString to
std::[w]string and use of standard containers for the implementation of their
wx equivalents. Split up the two roles now by allowing to enable the use of
the standard containers independently of (backwards incompatible) implicit
conversion in wxString and actually enable wxUSE_STD_CONTAINERS by default.

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

13 years agoFix XTI compilation in STL build.
Vadim Zeitlin [Wed, 30 Mar 2011 14:15:53 +0000 (14:15 +0000)] 
Fix XTI compilation in STL build.

Use explicit c_str() calls in XTI code as implicit conversion to "const char
*" doesn't exist in STL build.

This fixes compilation problems when wxUSE_EXTENDED_RTTI && wxUSE_STL.

Closes #13087.

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

13 years agobuild fix for older GTK2
Paul Cornett [Wed, 30 Mar 2011 05:59:34 +0000 (05:59 +0000)] 
build fix for older GTK2

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

13 years agoconvert assertdlg_gtk to C++
Paul Cornett [Wed, 30 Mar 2011 05:35:24 +0000 (05:35 +0000)] 
convert assertdlg_gtk to C++

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

13 years agoprepare to convert file to C++
Paul Cornett [Wed, 30 Mar 2011 05:29:49 +0000 (05:29 +0000)] 
prepare to convert file to C++

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

13 years agofix clang warning (? having two different operand types)
Stefan Csomor [Tue, 29 Mar 2011 18:40:18 +0000 (18:40 +0000)] 
fix clang warning (? having two different operand types)

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

13 years agomust use deprecated function for gtk2
Paul Cornett [Tue, 29 Mar 2011 17:49:36 +0000 (17:49 +0000)] 
must use deprecated function for gtk2

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

13 years agodon't crash on error
Paul Cornett [Tue, 29 Mar 2011 05:29:42 +0000 (05:29 +0000)] 
don't crash on error

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

13 years agobuild fix
Paul Cornett [Tue, 29 Mar 2011 05:17:00 +0000 (05:17 +0000)] 
build fix

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

13 years agofix typo
Paul Cornett [Tue, 29 Mar 2011 05:16:25 +0000 (05:16 +0000)] 
fix typo

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

13 years agoGTK_WIDGET_SENSITIVE should have been converted to gtk_widget_get_sensitive
Paul Cornett [Tue, 29 Mar 2011 05:15:54 +0000 (05:15 +0000)] 
GTK_WIDGET_SENSITIVE should have been converted to gtk_widget_get_sensitive

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

13 years agowxDataViewChoiceRenderer's editor control should have the same size as the cell.
Václav Slavík [Mon, 28 Mar 2011 14:10:31 +0000 (14:10 +0000)] 
wxDataViewChoiceRenderer's editor control should have the same size as the cell.

It looks weird when it's significantly shorter than the content cell being edited.

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