]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
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

12 years agoAdd aui-capability top wxMOTIF for OpenVMS
Jouk Jansen [Mon, 21 May 2012 08:31:37 +0000 (08:31 +0000)] 
Add aui-capability top wxMOTIF for OpenVMS

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

12 years agoInterface fixes for Phoenix
Robin Dunn [Sun, 20 May 2012 21:58:27 +0000 (21:58 +0000)] 
Interface fixes for Phoenix

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

12 years agoFix 62 harmless but annoying Clang warnings in wxOSX build.
Vadim Zeitlin [Sun, 20 May 2012 20:29:56 +0000 (20:29 +0000)] 
Fix 62 harmless but annoying Clang warnings in wxOSX build.

Clang warns about using letters and digits in a switch on wxKeyCode enum which
doesn't include them as elements. This is generally useful but really annoying
in this case, especially due to the sheer number of warnings, so disable it
using Clang-specific pragma.

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

12 years agoUse wxObjCID instead of "struct objc_object*" to fix clang build.
Vadim Zeitlin [Sun, 20 May 2012 20:29:50 +0000 (20:29 +0000)] 
Use wxObjCID instead of "struct objc_object*" to fix clang build.

Clang doesn't accept "struct objc_object*" as synonym for "id" in Objective-C
code, so use the real "id" for it while still using the struct pointer for C++
code where "id" is not defined.

Closes #13565.

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

12 years agoAdd support for task bar icon tooltips to wxOSX version.
Vadim Zeitlin [Sun, 20 May 2012 20:29:41 +0000 (20:29 +0000)] 
Add support for task bar icon tooltips to wxOSX version.

Set the tooltip used for the icon in wxOSX/Cocoa version of wxTaskBarIcon.

Closes #14298.

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

12 years agoImprove check for OS X version in Cocoa wxFileDialog implementation.
Vadim Zeitlin [Sun, 20 May 2012 20:29:35 +0000 (20:29 +0000)] 
Improve check for OS X version in Cocoa wxFileDialog implementation.

A library using wxWidgets linked with 10.6 SDK might be loaded into an
application loading 10.5 version of AppKit in which case 10.6-specific
functions shouldn't be used. Check for the AppKit version effectively in use
instead of just checking for the system version.

Closes #13831.

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

12 years agoReset wxDialog::m_modality sooner in wxOSX.
Vadim Zeitlin [Sun, 20 May 2012 20:29:29 +0000 (20:29 +0000)] 
Reset wxDialog::m_modality sooner in wxOSX.

Change the internal flag to wxDIALOG_MODALITY_NONE before sending
wxEVT_WINDOW_MODAL_DIALOG_CLOSED event. This ensures that if the dialog is
shown again from this event handler it works correctly.

Closes #13951.

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

12 years agoImplement wxStackWalker for wxOSX.
Vadim Zeitlin [Sun, 20 May 2012 20:29:22 +0000 (20:29 +0000)] 
Implement wxStackWalker for wxOSX.

Use atos(1) to map address to their symbolic names.

Closes #10067.

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

12 years agoFix menu sample compilation under wxOSX.
Vadim Zeitlin [Sun, 20 May 2012 20:29:15 +0000 (20:29 +0000)] 
Fix menu sample compilation under wxOSX.

Include copy.xpm under all platforms as all of them support (even though
without necessarily implementing it) wxMenuItem::SetBitmap() now.

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

12 years agoFix crash on destruction of wxDataViewCtrl in wxOSX.
Vadim Zeitlin [Sun, 20 May 2012 20:29:09 +0000 (20:29 +0000)] 
Fix crash on destruction of wxDataViewCtrl in wxOSX.

The control remained associated to the model so a dangling pointer could be
used if the model was destroyed after the control.

Fix this by removing the control from the model list of notifiers when it is
destroyed.

Closes #14124.

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

12 years agoReally fix compilation in !wxUSE_LOG_DEBUG && !HAVE_VARIADIC_MACROS case.
Vadim Zeitlin [Sun, 20 May 2012 19:47:32 +0000 (19:47 +0000)] 
Really fix compilation in !wxUSE_LOG_DEBUG && !HAVE_VARIADIC_MACROS case.

Fix the fix of r71502, we need the variable declaration when not using
HAVE_VARIADIC_MACROS.

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

12 years agoRemove non-existent section from Unicode overview TOC.
Vadim Zeitlin [Sun, 20 May 2012 13:08:35 +0000 (13:08 +0000)] 
Remove non-existent section from Unicode overview TOC.

This section is now just a subsection, don't list it in the table of contents.

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

12 years agoDon't use deprecated font family style
Julian Smart [Sun, 20 May 2012 13:06:43 +0000 (13:06 +0000)] 
Don't use deprecated font family style

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

12 years agoCompilation fix for wxRichTextCtrl.
Vadim Zeitlin [Sun, 20 May 2012 13:04:26 +0000 (13:04 +0000)] 
Compilation fix for wxRichTextCtrl.

Don't use wxDEFAULT, there is no match for wxFont ctor taking wxSize and it,
use wxFONTFAMILY_DEFAULT instead.

Also remove the unnecessary .c_str() from the same wxFont ctor call, there is
really no reason at all to have it there.

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

12 years agoFix harmless warning from g++ 4.8 in C11 mode.
Vadim Zeitlin [Sun, 20 May 2012 12:30:47 +0000 (12:30 +0000)] 
Fix harmless warning from g++ 4.8 in C11 mode.

g++ 4.8 recognizes "cpu" in WX_CC_MANIFEST expansion as a user-defined literal
suffix, add spaces around it to prevent this from happening.

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

12 years agoAdded pixel size capability to wxTextAttr and wxRichTextCtrl.
Julian Smart [Sun, 20 May 2012 12:25:22 +0000 (12:25 +0000)] 
Added pixel size capability to wxTextAttr and wxRichTextCtrl.
Fixed composite object positioning in centred and right-aligned
paragraphs.
Added field example to sample, and enabled pixel font size selection.
Added custom text and dimension scaling.

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

12 years agoFix compilation in !wxUSE_LOG_DEBUG && !HAVE_VARIADIC_MACROS case.
Vadim Zeitlin [Sat, 19 May 2012 16:49:11 +0000 (16:49 +0000)] 
Fix compilation in !wxUSE_LOG_DEBUG && !HAVE_VARIADIC_MACROS case.

Define the "unused" variable unless wxLogDebug() calls are variadic macros
(not evaluating their arguments at all) and not functions.

Fixes compilation broken since r71466.

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

12 years agoFix compilation in wxUSE_STL=1 build after r71467.
Vadim Zeitlin [Sat, 19 May 2012 16:49:07 +0000 (16:49 +0000)] 
Fix compilation in wxUSE_STL=1 build after r71467.

Restore explicit conversion of wxString to char*, there is no implicit
conversion in wxUSE_STL build.

Use utf8_str() instead of c_str() removed by r71467 however as this is what we
need for wxGTK.

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

12 years agoremoving unnecessary - and incorrect - override, fixes #14319
Stefan Csomor [Sat, 19 May 2012 14:24:13 +0000 (14:24 +0000)] 
removing unnecessary - and incorrect - override, fixes #14319

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

12 years agoadjusting min requirements
Stefan Csomor [Sat, 19 May 2012 13:17:21 +0000 (13:17 +0000)] 
adjusting min requirements

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

12 years agofixes #14318
Stefan Csomor [Sat, 19 May 2012 06:33:28 +0000 (06:33 +0000)] 
fixes #14318

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

12 years agoAdd interface and simple docs doe wxOverlay and wxDCOverlay.
Robin Dunn [Sat, 19 May 2012 06:21:37 +0000 (06:21 +0000)] 
Add interface and simple docs doe wxOverlay and wxDCOverlay.

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

12 years agoAdd some missing setters for wxRect.
Robin Dunn [Sat, 19 May 2012 06:21:31 +0000 (06:21 +0000)] 
Add some missing setters for wxRect.

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

12 years agoInterface fixes for Phoenix
Robin Dunn [Sat, 19 May 2012 06:21:25 +0000 (06:21 +0000)] 
Interface fixes for Phoenix

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

12 years ago10.5 is the minimum SDK for both OSX ports now
Robin Dunn [Fri, 18 May 2012 19:54:30 +0000 (19:54 +0000)] 
10.5 is the minimum SDK for both OSX ports now

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

12 years agoInterface fixes for Phoenix
Robin Dunn [Fri, 18 May 2012 19:54:25 +0000 (19:54 +0000)] 
Interface fixes for Phoenix

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

12 years agofixing c++11 build
Stefan Csomor [Fri, 18 May 2012 11:09:07 +0000 (11:09 +0000)] 
fixing c++11 build

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

12 years agofixing c++11 build
Stefan Csomor [Fri, 18 May 2012 10:35:08 +0000 (10:35 +0000)] 
fixing c++11 build

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

12 years agofixing c++11 build
Stefan Csomor [Fri, 18 May 2012 10:34:32 +0000 (10:34 +0000)] 
fixing c++11 build

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

12 years agofixing c++11 build
Stefan Csomor [Fri, 18 May 2012 09:56:33 +0000 (09:56 +0000)] 
fixing c++11 build

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

12 years agofixing c++11 build
Stefan Csomor [Fri, 18 May 2012 09:56:06 +0000 (09:56 +0000)] 
fixing c++11 build

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

12 years agoImprove wxDir::Traverse() documentation.
Vadim Zeitlin [Thu, 17 May 2012 16:10:22 +0000 (16:10 +0000)] 
Improve wxDir::Traverse() documentation.

It didn't describe wxDIR_FILES correctly and didn't mention OnOpenError().

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

12 years agoFix wrong format specifiers in the samples.
Vadim Zeitlin [Thu, 17 May 2012 16:10:19 +0000 (16:10 +0000)] 
Fix wrong format specifiers in the samples.

Use "%ld" instead of "%d" to format long values, using "%d" results in an
assert failure under LP64 systems as int and long have different sizes there.

Closes #14311.

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

12 years agomark virtual overrides as virtual
Paul Cornett [Thu, 17 May 2012 15:46:26 +0000 (15:46 +0000)] 
mark virtual overrides as virtual

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

12 years agoremove some unnecessary c_str() calls
Paul Cornett [Thu, 17 May 2012 15:46:08 +0000 (15:46 +0000)] 
remove some unnecessary c_str() calls

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

12 years agoeliminate unused variable warning with wxUSE_LOG_DEBUG==0
Paul Cornett [Thu, 17 May 2012 15:45:50 +0000 (15:45 +0000)] 
eliminate unused variable warning with wxUSE_LOG_DEBUG==0

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

12 years agoRemove use of "size-request" signal for wxWindow sizing.
Paul Cornett [Thu, 17 May 2012 15:29:50 +0000 (15:29 +0000)] 
Remove use of "size-request" signal for wxWindow sizing.
This signal has been removed from GTK3. Instead have wxPizza keep track of child
size, and use gtk_widget_set_size_request() for wxWindows in native containers.

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

12 years agoInterface fixes for Phoenix
Robin Dunn [Thu, 17 May 2012 02:47:34 +0000 (02:47 +0000)] 
Interface fixes for Phoenix

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

12 years agoMake variable containing port number an ushort in the sockets sample.
Vadim Zeitlin [Wed, 16 May 2012 15:10:05 +0000 (15:10 +0000)] 
Make variable containing port number an ushort in the sockets sample.

A port number is an unsigned short, not long, so don't make it long just
because wxCmdLineParser doesn't provide a convenient way to get the value of
an unsigned short option (it would be nice if it did...).

This fixes the problem with using "%d" format specifier with a long variable
as this resulted in an assert under LP64 systems.

See #14311.

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

12 years agoFix wxWakeUpIdle() in Unix console application broken by r71089.
Vadim Zeitlin [Wed, 16 May 2012 15:10:01 +0000 (15:10 +0000)] 
Fix wxWakeUpIdle() in Unix console application broken by r71089.

Initialize m_pipeIsEmpty to true as we don't have anything in the pipe
initially and if this variable was false, nothing was ever written to the wake
up pipe and it was never set to true as nothing was read from it neither.

Closes #14166.

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

12 years agoDon't use printf() with non-literal string as format.
Vadim Zeitlin [Wed, 16 May 2012 13:24:49 +0000 (13:24 +0000)] 
Don't use printf() with non-literal string as format.

Replace calls to printf() with puts() in the typetest sample.

See #14311.

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

12 years agoThe object size page now has full position attribute editing.
Julian Smart [Wed, 16 May 2012 10:59:30 +0000 (10:59 +0000)] 
The object size page now has full position attribute editing.

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

12 years agoFix pasting large amounts of text in wxGTK.
Vadim Zeitlin [Tue, 15 May 2012 10:04:11 +0000 (10:04 +0000)] 
Fix pasting large amounts of text in wxGTK.

We need to process GDK_PROPERTY_NOTIFY events when yielding for
wxEVT_CATEGORY_CLIPBOARD, otherwise we never receive large selections.

As GDK_PROPERTY_NOTIFY can be also used for non-clipboard stuff, exceptionally
assign 2 categories to it and process it in either case.

Closes #14284.

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

12 years agoCorrect the documentation of wxSpinCtrl initial and value arguments.
Vadim Zeitlin [Tue, 15 May 2012 10:04:07 +0000 (10:04 +0000)] 
Correct the documentation of wxSpinCtrl initial and value arguments.

It does make sense to specify "initial" if "value" is empty.

See #13589.

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

12 years agoAdd support for wxArrayString to wxVariant-to-OLE conversion.
Vadim Zeitlin [Tue, 15 May 2012 10:04:03 +0000 (10:04 +0000)] 
Add support for wxArrayString to wxVariant-to-OLE conversion.

This allows to call COM methods taking arrays of strings easily.

Also remove support for the old and non-existent any more "stringlist" variant
type.

And add more error checking.

Closes #14296.

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

12 years agoEnable variadic macros for VC9 and later.
Vadim Zeitlin [Tue, 15 May 2012 10:04:01 +0000 (10:04 +0000)] 
Enable variadic macros for VC9 and later.

VC9 and 10 support variadic macros so define HAVE_VARIADIC_MACROS for them
too. This currently only affects wxLog{Debug,Trace} definitions in wx/log.h.

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

12 years agoFix keyboard navigation in wx{List,Choice,Tree,Tool}book controls.
Vadim Zeitlin [Tue, 15 May 2012 10:03:57 +0000 (10:03 +0000)] 
Fix keyboard navigation in wx{List,Choice,Tree,Tool}book controls.

Inherit from wxNavigationEnabled<wxBookCtrlBase> instead of just
wxBookCtrlBase to ensure that the keyboard navigation works correctly for
these controls.

The toolbar in wxToolbook still doesn't accept focus from keyboard but at
least the pages can be TAB-bed too and from. And the rest of the controls
are now fully accessible using only the keyboard.

Closes #14303.

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

12 years agoUse iterators instead of indices in wxStripMenuCodes().
Vadim Zeitlin [Tue, 15 May 2012 10:03:53 +0000 (10:03 +0000)] 
Use iterators instead of indices in wxStripMenuCodes().

Make the function more efficient when using UTF-8 wxStrings by using iterators
instead of indices in the loop searching for "&".

Closes #14307.

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

12 years agoClear styles popup if there is no style sheet
Julian Smart [Mon, 14 May 2012 17:23:56 +0000 (17:23 +0000)] 
Clear styles popup if there is no style sheet

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

12 years agoSimplify wxEventLoopManual pending events processing logic.
Vadim Zeitlin [Sun, 13 May 2012 22:13:43 +0000 (22:13 +0000)] 
Simplify wxEventLoopManual pending events processing logic.

Don't try to process any remaining pending events in ProcessEvents() itself as
this was inconsistent: we only processed low-level toolkit pending events in
the main event loop itself if the loop was exited from a normal event handler
but only processed the wxApp-level pending events if it was exited from a
pending event handler. It also required more code than the new version that
simply processes all the remaining pending events, of both kinds, after the
main event loop termination.

This corrects changes of r71304 and replaces those of r71329.

Closes #14250.

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

12 years agoFix wxDateTime unit test after the changes of r71430.
Vadim Zeitlin [Sun, 13 May 2012 22:05:57 +0000 (22:05 +0000)] 
Fix wxDateTime unit test after the changes of r71430.

Don't test the return value of ParseFormat(wxCStrData) any more as this
function is void now.

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

12 years agoDon't return a dangling pointer from wxDateTime::ParseXXX(wxCStrData).
Vadim Zeitlin [Sun, 13 May 2012 21:37:25 +0000 (21:37 +0000)] 
Don't return a dangling pointer from wxDateTime::ParseXXX(wxCStrData).

We don't have any sufficiently long-lived pointer to return from this
overload, so don't return anything from it -- it's better to break the
compilation of the existing code rather than make it crash during run-time.

Closes #14214.

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

12 years agoNo changes, just simplify the code using wx2stc() a little.
Vadim Zeitlin [Sun, 13 May 2012 21:37:23 +0000 (21:37 +0000)] 
No changes, just simplify the code using wx2stc() a little.

Assign wx2stc() return value to a suitably const variable instead of using
ugly casts to get rid of constness.

Also use wxCharBuffer/char* explicitly inside explicit wxUSE_UNICODE checks,
using wxWX2MBbuf here doesn't gain us anything and just confuses the reader of
this code.

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

12 years agoFix wxStyledTextCtrl compilation in non-Unicode build.
Vadim Zeitlin [Sun, 13 May 2012 21:37:18 +0000 (21:37 +0000)] 
Fix wxStyledTextCtrl compilation in non-Unicode build.

The value returned by wx2stc() in non-Unicode build is a simple "char*" and we
can't call length() method on it, add a helper wx2stclen() function to get the
length from the original wxString itself in this case.

Closes #14013.

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

12 years agoDon't assert if no icon is specified for a wxDataViewCtrl item.
Vadim Zeitlin [Sun, 13 May 2012 21:37:16 +0000 (21:37 +0000)] 
Don't assert if no icon is specified for a wxDataViewCtrl item.

An item in a column using wxDataViewIconTextRenderer might not have any valid
icon associated with it, don't assert in case it doesn't in the native GTK
version.

Notice that the generic wxDataViewCtrl implementation already supports this
but not perfectly: no space is reserved for the icon in the images without
one, so giving the image to only some of them looks ugly. The GTK version
aligns both the items with and without icon properly and simply leaves the
image part blank and it would be better to modify the generic version to do
the same thing in the future.

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

12 years agoMinor change to wxString pretty-printer for gdb.
Vadim Zeitlin [Sun, 13 May 2012 21:37:13 +0000 (21:37 +0000)] 
Minor change to wxString pretty-printer for gdb.

Calling string() explicitly isn't necessary, at least not with gdb 7.2, and is
actually harmful when using Python 2.5 (which doesn't support UTF-32) with
wide strings.

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

12 years agoDon't handle branches specially when sorting items in wxDataViewCtrl.
Vadim Zeitlin [Sun, 13 May 2012 21:37:10 +0000 (21:37 +0000)] 
Don't handle branches specially when sorting items in wxDataViewCtrl.

The generic version of wxDataViewCtrl tried to put all branches before the
leaves when sorting. This had a couple of problems: first, it didn't do it
correctly and actually placed the branches after the leaves which didn't make
any sense. Second, this was only done in the generic version and not the
native GTK one making the behaviour inconsistent between platforms. Finally,
this behaviour just doesn't make sense in general (i.e. when items don't
necessarily represent anything in the file system and maybe even sometimes
when they do) and there doesn't seem any good reason to do it by default.

So stop doing it, partially reverting the changes of r47562.

Closes #14100.

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

12 years agoDisable the use of UTF-8 by default in Unix builds.
Vadim Zeitlin [Sun, 13 May 2012 13:17:25 +0000 (13:17 +0000)] 
Disable the use of UTF-8 by default in Unix builds.

Add up-to-date description of UTF-8 support to the Unicode overview.

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

12 years agoRemove wxDECLARE_APP() from wxIMPLEMENT_APP_NO_MAIN().
Vadim Zeitlin [Sun, 13 May 2012 13:17:22 +0000 (13:17 +0000)] 
Remove wxDECLARE_APP() from wxIMPLEMENT_APP_NO_MAIN().

There is no need for a separate declaration inside wxIMPLEMENT_APP() as
wxGetApp() is defined by it and redeclaring it immediately after definition
results in a warning with some compilers/environments (Eclipse CDT).

The move of wxGetApp() to the beginning of the macro is only to ensure that a
semicolon is still required after wxIMPLEMENT_APP_NO_MAIN() and the other
macros terminating with it, such as wxIMPLEMENT_APP() itself.

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

12 years agoFixed layout and hit-testing problem particularly with centred lines
Julian Smart [Fri, 11 May 2012 22:15:39 +0000 (22:15 +0000)] 
Fixed layout and hit-testing problem particularly with centred lines

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

12 years agoDocument that wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED is OSX-specific.
Vadim Zeitlin [Fri, 11 May 2012 22:10:28 +0000 (22:10 +0000)] 
Document that wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED is OSX-specific.

This even is not generated by neither generic nor GTK version right now.

See #14297.

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

12 years agoFix extra event sent by wxTextEntry::ChangeValue() since r71308.
Vadim Zeitlin [Fri, 11 May 2012 22:10:25 +0000 (22:10 +0000)] 
Fix extra event sent by wxTextEntry::ChangeValue() since r71308.

The changes of r71308 sent the event unconditionally in case the text didn't
really change but no events should be sent if the flags don't include
SetValue_SendEvent, add a check for it.

Re-closes #13936.

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

12 years agoEnable access to the native bitmap object wrapped by wxGraphicsBitmap
Robin Dunn [Fri, 11 May 2012 22:06:50 +0000 (22:06 +0000)] 
Enable access to the native bitmap object wrapped by wxGraphicsBitmap

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

12 years agoEnsure a 32-bit cairo surface is created if it is needed
Robin Dunn [Fri, 11 May 2012 22:06:37 +0000 (22:06 +0000)] 
Ensure a 32-bit cairo surface is created if it is needed

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

12 years agofixes SetFirstItem, Thanks to David Wright
Stefan Csomor [Fri, 11 May 2012 06:28:54 +0000 (06:28 +0000)] 
fixes SetFirstItem, Thanks to David Wright

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

12 years agoMore interface fixes for Phoenix
Robin Dunn [Thu, 10 May 2012 22:38:14 +0000 (22:38 +0000)] 
More interface fixes for Phoenix

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

12 years agoAdd wxFormatInvalid, and tweak the docs for wxDataObject::GetDataHere and SetData
Robin Dunn [Thu, 10 May 2012 22:34:46 +0000 (22:34 +0000)] 
Add wxFormatInvalid, and tweak the docs for wxDataObject::GetDataHere and SetData

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

12 years agoAdd doc for wxCliboard::Get
Robin Dunn [Thu, 10 May 2012 22:34:39 +0000 (22:34 +0000)] 
Add doc for wxCliboard::Get

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