]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
12 years agoSlightly improve the date/time dialogs in the calendar sample.
Vadim Zeitlin [Sun, 4 Nov 2012 23:55:22 +0000 (23:55 +0000)] 
Slightly improve the date/time dialogs in the calendar sample.

Use CreateStdDialogButtonSizer() instead of constructing
wxStdDialogButtonSizer directly, not only this is shorter but it also makes
the "OK" button default correctly.

Also initialize the labels instead of leaving them initially empty.

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

12 years agoDon't move the insertion point if text didn't change in wxTextEntry.
Vadim Zeitlin [Sun, 4 Nov 2012 23:55:00 +0000 (23:55 +0000)] 
Don't move the insertion point if text didn't change in wxTextEntry.

This avoids accidentally resetting the selection if SetValue() is called again
with the same value.

Closes #13728.

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

12 years agoMake hack for button creation in wxOSX more robust.
Vadim Zeitlin [Sun, 4 Nov 2012 23:54:37 +0000 (23:54 +0000)] 
Make hack for button creation in wxOSX more robust.

Don't crash when creating a plain wxButton with wxBU_NOTEXT style. This
happened because we skipped creating the peer (real implementation) in this
case entirely on the assumption that we were creating a wxBitmapButton, but
this is not necessarily the case. So now test that the creation of the peer is
really disabled before skipping it (this required adding ShouldCreatePeer()
accessor).

Merging wxWidgetImpl::CreateButton() and CreateBitmapButton() (and the same
thing for toggle buttons) would still be a better solution but while it's
trivial to do for Cocoa, it isn't for Carbon. And we can't use a single
function for Cocoa but different functions for Carbon, so for now just
continue to use this hack.

Closes #13622.

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

12 years agoEnsure that paths used inside wxOSX are always in NFC form.
Vadim Zeitlin [Sun, 4 Nov 2012 23:54:15 +0000 (23:54 +0000)] 
Ensure that paths used inside wxOSX are always in NFC form.

OSX uses NFKD but this is unexpected for wx applications, so normalize the
string to use the composed form whenever we receive a file system path from OS
X.

Closes #13504.

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

12 years agoAdd wxCFStringRef::AsStringWithNormalizationFormC() Cocoa overload.
Vadim Zeitlin [Sun, 4 Nov 2012 23:53:52 +0000 (23:53 +0000)] 
Add wxCFStringRef::AsStringWithNormalizationFormC() Cocoa overload.

Provide an overload taking NSString and casting it to CFStringRef, just as for
AsStringWithNormalizationFormC().

See #13504.

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

12 years agoUse kCGBlendModeExclusion for wxCOMPOSITION_XOR operation.
Vadim Zeitlin [Sun, 4 Nov 2012 23:53:29 +0000 (23:53 +0000)] 
Use kCGBlendModeExclusion for wxCOMPOSITION_XOR operation.

The previously used kCGBlendModeXOR doesn't seem to be the right mode to use.

Closes #13095.

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

12 years agoImplement setting default wxTextCtrl style in wxOSX.
Vadim Zeitlin [Sun, 4 Nov 2012 23:53:06 +0000 (23:53 +0000)] 
Implement setting default wxTextCtrl style in wxOSX.

Use NSTextView setTypingAttributes to change the attributes used for the new
text by default as setting them for the selected region didn't do anything
useful under OS X (and did nothing at all when there was no selection).

Closes #12839.

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

12 years agoNo changes, just remove unnecessary wxTextAttr tests.
Vadim Zeitlin [Sun, 4 Nov 2012 23:52:43 +0000 (23:52 +0000)] 
No changes, just remove unnecessary wxTextAttr tests.

If wxTextAttr::HasFoo() returns true, there is no need to test for
GetFoo().IsOk().

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

12 years agoSuppress warnings about NSText not responding to setAllowsUndo.
Vadim Zeitlin [Sun, 4 Nov 2012 23:52:21 +0000 (23:52 +0000)] 
Suppress warnings about NSText not responding to setAllowsUndo.

Cast NSText to NSTextView when sending this message to it. Hopefully it
doesn't change the run-time behaviour but just fixes several lines of warnings
that were given without this cast.

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

12 years agoNo changes, just make it easier to tweak splitter sample.
Vadim Zeitlin [Sun, 4 Nov 2012 23:51:58 +0000 (23:51 +0000)] 
No changes, just make it easier to tweak splitter sample.

The sample contains disabled code for using other type of windows than
MyCanvas for the splitter children but it didn't compile any more because the
variables were declared as wxScrolledWindow. Fix this by using just wxWindow
for them.

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

12 years agoCreate tags for Cocoa, not Carbon, by default under wxOSX.
Vadim Zeitlin [Sun, 4 Nov 2012 23:51:36 +0000 (23:51 +0000)] 
Create tags for Cocoa, not Carbon, by default under wxOSX.

Just change the default value of the "port" parameter.

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

12 years agoFix annoying warning when running the script to generate tags under OS X.
Vadim Zeitlin [Sun, 4 Nov 2012 23:51:13 +0000 (23:51 +0000)] 
Fix annoying warning when running the script to generate tags under OS X.

It complained about no matches for src/osx/cocoa/*.cpp.

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

12 years agoUpdate the button bezel to account for multi-line labels in wxOSX.
Vadim Zeitlin [Sun, 4 Nov 2012 23:50:50 +0000 (23:50 +0000)] 
Update the button bezel to account for multi-line labels in wxOSX.

If a button was created using a normal single-line label (including empty one)
and then its label was changed to something multi-line later, its size stayed
wrong in wxOSX as it still used the fixed size bezel used by normal buttons.

Adjust the bezel after each bezel change now to update the size of the button
if necessary.

Closes #12491.

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

12 years agoNo changes, just rename OSXSetAcceleratorFromLabel().
Vadim Zeitlin [Sun, 4 Nov 2012 23:50:28 +0000 (23:50 +0000)] 
No changes, just rename OSXSetAcceleratorFromLabel().

Make the name of the function more general and call it
OSXUpdateAfterLabelChange() as it's supposed to be called whenever the label
changes.

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

12 years agoNo real change, just make bezel setting code in wxOSX more clear.
Vadim Zeitlin [Sun, 4 Nov 2012 23:50:05 +0000 (23:50 +0000)] 
No real change, just make bezel setting code in wxOSX more clear.

Avoid code duplication between SetAcceleratorFromLabel() and
wxWidgetImpl::CreateButton(), generalize the former to handle the special
cases taken into account only in the latter previously.

Also use a switch on border flags instead of series of nested ifs as this
seems to be more clear.

No changes in behaviour.

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

12 years agoRevert "Fix the pages range in the print dialog in wxOSX."
Vadim Zeitlin [Sun, 4 Nov 2012 23:49:42 +0000 (23:49 +0000)] 
Revert "Fix the pages range in the print dialog in wxOSX."

This reverts r72805 (leaving only the changes to printdlg.cpp which seem
harmless and potentially useful) as it resulted in crashes when using
wxHtmlEasyPrinting because we called wxPrintout::OnPreparePrinting() before
setting the DC to be used, which was wrong.

In fact it's not clear how can we get the correct range of pages at all
because we need a DC to paginate properly (i.e. taking into account its size)
but we need to show a dialog, in which we already want to show the pages
range, before choosing the DC. Perhaps we could create a dummy DC for
pagination purposes but how could this work with printers using different page
sizes?

The best would probably be to avoid setting any limits on the page range as
showing 9999 looks ugly but anything else would be wrong.

See #8349, #11779.

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

12 years agoUpdate tree control layout in EditLabel() for wxOSX too.
Vadim Zeitlin [Sun, 4 Nov 2012 23:49:19 +0000 (23:49 +0000)] 
Update tree control layout in EditLabel() for wxOSX too.

A special preprocessor check for OS X prevented the control from being relaid
out correctly in EditLabel() there, which resulted in problems when trying to
edit a just added item.

Simply remove this check for OS X (and also MSW but this is less important as
this version of the control is almost never used there anyhow) to fix it.

Closes #11179.

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

12 years agofix setting background color in wxGTK3 with themes which use background images or...
Paul Cornett [Sun, 4 Nov 2012 17:39:55 +0000 (17:39 +0000)] 
fix setting background color in wxGTK3 with themes which use background images or gradients, fixes #14759

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

12 years agoCheck that doxygen version is 1.8.2 in docs generation script.
Vadim Zeitlin [Sun, 4 Nov 2012 12:44:56 +0000 (12:44 +0000)] 
Check that doxygen version is 1.8.2 in docs generation script.

Doxygen often has backwards incompatible changes, so verify that we really use
the version the docs are supposed to be generated with.

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

12 years agoDon't use "readlink -e" in docs generation script, it's not portable.
Vadim Zeitlin [Sun, 4 Nov 2012 12:44:51 +0000 (12:44 +0000)] 
Don't use "readlink -e" in docs generation script, it's not portable.

"readlink" command also exists under OS X but with a completely different
syntax than under Linux, so just use "pwd -P" to get the physical path name
instead, this should hopefully work everywhere as it's POSIX.

Closes #14796.

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

12 years agoAllow using _T() in docs/doxygen/overviews/changes_since28.h.
Vadim Zeitlin [Sun, 4 Nov 2012 12:44:49 +0000 (12:44 +0000)] 
Allow using _T() in docs/doxygen/overviews/changes_since28.h.

This file describes changes to this macro so don't block commits changing it
just because it contains "_T".

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

12 years agoFinished adding @tableofcontents to all overviews in the manual.
Bryan Petty [Sat, 3 Nov 2012 18:34:10 +0000 (18:34 +0000)] 
Finished adding @tableofcontents to all overviews in the manual.

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

12 years agoBumped the reference manual date.
Bryan Petty [Sat, 3 Nov 2012 18:33:41 +0000 (18:33 +0000)] 
Bumped the reference manual date.

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

12 years agoFixed up Windows regen.bat script to use environment variables instead of conditional...
Bryan Petty [Sat, 3 Nov 2012 18:33:31 +0000 (18:33 +0000)] 
Fixed up Windows regen.bat script to use environment variables instead of conditional config file includes.

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

12 years agoMoved format selection logic into environment variables instead of conditional config...
Bryan Petty [Sat, 3 Nov 2012 18:33:23 +0000 (18:33 +0000)] 
Moved format selection logic into environment variables instead of conditional config file includes.

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

12 years agoRemoved obsolete files from old Doxygen versions.
Bryan Petty [Sat, 3 Nov 2012 18:33:12 +0000 (18:33 +0000)] 
Removed obsolete files from old Doxygen versions.

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

12 years agoCleaned up the server based search results page styles.
Bryan Petty [Sat, 3 Nov 2012 18:33:02 +0000 (18:33 +0000)] 
Cleaned up the server based search results page styles.

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

12 years agoFixed appearance images to use Doxygen @image command (Doxygen will now copy files...
Bryan Petty [Sat, 3 Nov 2012 18:32:50 +0000 (18:32 +0000)] 
Fixed appearance images to use Doxygen @image command (Doxygen will now copy files automatically), and cleaned up some more overviews.

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

12 years agoFixed docs footer to bottom, and fixed up TOC on all main pages, and some overviews.
Bryan Petty [Sat, 3 Nov 2012 18:29:28 +0000 (18:29 +0000)] 
Fixed docs footer to bottom, and fixed up TOC on all main pages, and some overviews.

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

12 years agoDocumentation screenshot generator source code cleanup.
Bryan Petty [Sat, 3 Nov 2012 18:08:54 +0000 (18:08 +0000)] 
Documentation screenshot generator source code cleanup.

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

12 years agoUpgraded Doxygen to 1.8.2 for the docs.
Bryan Petty [Sat, 3 Nov 2012 18:08:45 +0000 (18:08 +0000)] 
Upgraded Doxygen to 1.8.2 for the docs.

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

12 years agomissing commit, fixes #14797
Stefan Csomor [Fri, 2 Nov 2012 17:02:15 +0000 (17:02 +0000)] 
missing commit, fixes #14797

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

12 years agousing smaller size for font on non native toolbar
Stefan Csomor [Fri, 2 Nov 2012 10:46:33 +0000 (10:46 +0000)] 
using smaller size for font on non native toolbar

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

12 years agofixing class
Stefan Csomor [Fri, 2 Nov 2012 10:45:52 +0000 (10:45 +0000)] 
fixing class

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

12 years agousing button impl
Stefan Csomor [Fri, 2 Nov 2012 10:45:05 +0000 (10:45 +0000)] 
using button impl

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

12 years agoexposing common used button impl class
Stefan Csomor [Fri, 2 Nov 2012 10:41:22 +0000 (10:41 +0000)] 
exposing common used button impl class

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

12 years agoexposing common used button impl class
Stefan Csomor [Fri, 2 Nov 2012 10:06:06 +0000 (10:06 +0000)] 
exposing common used button impl class

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

12 years agoFixes and tweaks and additions to the wxHtml docs for Phoenix
Robin Dunn [Thu, 1 Nov 2012 22:56:13 +0000 (22:56 +0000)] 
Fixes and tweaks and additions to the wxHtml docs for Phoenix

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

12 years agowxCALL_FOR_EACH compilation fix for VC++.
Václav Slavík [Thu, 1 Nov 2012 18:25:07 +0000 (18:25 +0000)] 
wxCALL_FOR_EACH compilation fix for VC++.

VC++ has a bug where __VA_ARGS__ is incorrectly expanded as a single
token, contrary to C99. The solution is to pass the arguments to another
macro as a single token inside parenthesis.

See http://stackoverflow.com/questions/9183993/msvc-variadic-macro-expansion
for the gory details.

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

12 years agoCompilation fix for PCH-less build.
Václav Slavík [Thu, 1 Nov 2012 18:25:00 +0000 (18:25 +0000)] 
Compilation fix for PCH-less build.

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

12 years agoRefactor and simplify wxChoice::DoGetBestSize().
Vadim Zeitlin [Thu, 1 Nov 2012 17:15:28 +0000 (17:15 +0000)] 
Refactor and simplify wxChoice::DoGetBestSize().

Use wxTextMeasure instead of duplicating its code and also reuse the code
between different ports.

Closes #14706.

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

12 years agoInvalidate best size of wxOSX wxChoice after its number of items changes.
Vadim Zeitlin [Thu, 1 Nov 2012 17:15:25 +0000 (17:15 +0000)] 
Invalidate best size of wxOSX wxChoice after its number of items changes.

This fixes the calculation of the initial best size as previously the default
value was not updated even if longer strings were added later.

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

12 years agoAllow creating wxTextMeasure without specifying the font.
Vadim Zeitlin [Thu, 1 Nov 2012 17:15:22 +0000 (17:15 +0000)] 
Allow creating wxTextMeasure without specifying the font.

Use the default window/DC font by default as this is the most common case.

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

12 years agoAlways set the font to use in wxMSW wxTextMeasure when using a window.
Vadim Zeitlin [Thu, 1 Nov 2012 17:15:19 +0000 (17:15 +0000)] 
Always set the font to use in wxMSW wxTextMeasure when using a window.

The default window HDC font is not the same as the wxWindow font, so we need
to always set the font explicitly in this case (when using a wxDC, its HDC
does have the current wxDC font already selected into it, so doing it once
again would be unnecessarily wasteful).

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

12 years agoAllow constructing wxGTK wxTextMeasure with NULL font.
Vadim Zeitlin [Thu, 1 Nov 2012 17:15:15 +0000 (17:15 +0000)] 
Allow constructing wxGTK wxTextMeasure with NULL font.

The font is explicitly documented as being possibly NULL in the base class and
wxMSW handles NULL font just fine, so also handle it in the GTK version.

See #14706.

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

12 years agoDon't crash in wxHTML when parsing empty tables with empty width parameter.
Vadim Zeitlin [Thu, 1 Nov 2012 17:15:12 +0000 (17:15 +0000)] 
Don't crash in wxHTML when parsing empty tables with empty width parameter.

Guard against accessing invalid string element.

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

12 years agoAdded wxEVT_COMMAND_DIRCTRL_CHANGED for wxDirCtrl selection changes.
Vadim Zeitlin [Thu, 1 Nov 2012 17:15:08 +0000 (17:15 +0000)] 
Added wxEVT_COMMAND_DIRCTRL_CHANGED for wxDirCtrl selection changes.

This makes it much simpler to react to the changes in the control, update the
sample to show it.

Closes #14792.

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

12 years agoNo changes, just some cleanup in wxGenericDirCtrl code.
Vadim Zeitlin [Thu, 1 Nov 2012 17:15:03 +0000 (17:15 +0000)] 
No changes, just some cleanup in wxGenericDirCtrl code.

Use GetItemData() helper to only write a cast to wxDirItemData in this
function instead of repeating it many times.

See #14790.

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

12 years agoAdd distclean target to samples/Makefile.
Vadim Zeitlin [Thu, 1 Nov 2012 17:14:59 +0000 (17:14 +0000)] 
Add distclean target to samples/Makefile.

It is necessary because it is used by the distclean target of the top level
makefile.

Closes #14793.

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

12 years agoDeal correctly with wx directory being a symlink in docs generation script.
Vadim Zeitlin [Thu, 1 Nov 2012 17:14:54 +0000 (17:14 +0000)] 
Deal correctly with wx directory being a symlink in docs generation script.

The script calling Doxygen is smart enough to strip the path of the wxWidgets
directory from the paths of the files, but it didn't do it correctly if this
directory was a symlink.

Fix this by using readlink, if available, to get the canonical name.

Closes #14796.

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

12 years agoTests for wxTEST_DIALOG and wx/testing.h.
Václav Slavík [Thu, 1 Nov 2012 16:45:14 +0000 (16:45 +0000)] 
Tests for wxTEST_DIALOG and wx/testing.h.

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

12 years agoAdd wxTEST_DIALOG for testing of modal dialogs.
Václav Slavík [Thu, 1 Nov 2012 16:45:11 +0000 (16:45 +0000)] 
Add wxTEST_DIALOG for testing of modal dialogs.

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

12 years agoAdd wxCALL_FOR_EACH() macro.
Václav Slavík [Thu, 1 Nov 2012 16:45:01 +0000 (16:45 +0000)] 
Add wxCALL_FOR_EACH() macro.

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

12 years agoNepalese translations update from Him Prasad Gautam.
Vadim Zeitlin [Wed, 31 Oct 2012 13:39:04 +0000 (13:39 +0000)] 
Nepalese translations update from Him Prasad Gautam.

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

12 years agoRevert "Split documentation of the GUI wxLog classes in a separate file."
Vadim Zeitlin [Wed, 31 Oct 2012 12:55:52 +0000 (12:55 +0000)] 
Revert "Split documentation of the GUI wxLog classes in a separate file."

This reverts r72818 as it resulted in wrong header files being generated in
the documentation for the GUI wxLog classes.

See #14784.

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

12 years agoadding principal class for command line builds (High Resolution Support), changing...
Stefan Csomor [Wed, 31 Oct 2012 07:16:01 +0000 (07:16 +0000)] 
adding principal class for command line builds (High Resolution Support), changing years in copyright info

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

12 years agoadding constants for newer OSX versions to make sure our conditional expressions...
Stefan Csomor [Wed, 31 Oct 2012 07:10:07 +0000 (07:10 +0000)] 
adding constants for newer OSX versions to make sure our conditional expressions are working with earlier SDKs

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

12 years agofix WakeUpIdle() when called from another thread while idle processing is in progress
Paul Cornett [Wed, 31 Oct 2012 05:43:01 +0000 (05:43 +0000)] 
fix WakeUpIdle() when called from another thread while idle processing is in progress

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

12 years agoDefine wxSOCKET_XXX flags as wxSOCKET_XXX_READ|wxSOCKET_XXX_WRITE.
Vadim Zeitlin [Wed, 31 Oct 2012 00:17:17 +0000 (00:17 +0000)] 
Define wxSOCKET_XXX flags as wxSOCKET_XXX_READ|wxSOCKET_XXX_WRITE.

The recently introduced (in r72591) wxSOCKET_{WAITALL,NOWAIT}_{READ,WRITE}
flags weere for some reason completely different and unrelated to the existing
bidirectional wxSOCKET_{WAITALL,NOWAIT} ones. Change this by defining the
bidirectional version simply as the sum of the two others. This makes much
more sense than testing for either wxSOCKET_XXX or wxSOCKET_XXX_READ or
wxSOCKET_XXX_WRITE being specified.

And it also fixes an assert in wxSocketWaitModeChanger where a sanity check
failed when this class was used with wxSOCKET_WAITALL|wxSOCKET_WAITALL_READ.

See #14506.

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

12 years agoRevert "Split documentation of non-GUI wxEvent-related classes."
Vadim Zeitlin [Tue, 30 Oct 2012 14:04:39 +0000 (14:04 +0000)] 
Revert "Split documentation of non-GUI wxEvent-related classes."

This reverts r72817 as it resulted in build problems for wxPython and
incorrect headers in the generated documentation.

See #14785.

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

12 years agoCompare file paths using wxFileName, not wxString, in the sample.
Vadim Zeitlin [Mon, 29 Oct 2012 18:30:14 +0000 (18:30 +0000)] 
Compare file paths using wxFileName, not wxString, in the sample.

Comparing paths using wxString is a bad idea as identical paths can be seen as
mismatching because of case-only differences.

Also, don't reset wxRadioBox selection from its selection handler, this
doesn't work under e.g. wxGTK and is a bad example.

Closes #14791.

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

12 years agoAdd wxDirCtrl::GetPath().
Vadim Zeitlin [Mon, 29 Oct 2012 18:30:10 +0000 (18:30 +0000)] 
Add wxDirCtrl::GetPath().

This allows to retrieve the directory being affected by wxTreeCtrl event.

Closes #14790.

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

12 years agoSplit documentation of the GUI wxLog classes in a separate file.
Vadim Zeitlin [Mon, 29 Oct 2012 15:15:38 +0000 (15:15 +0000)] 
Split documentation of the GUI wxLog classes in a separate file.

Put the GUI classes in a new interface/wx/generic/logg.h to make it easier to
generate wrappers for only the base or only the core libraries.

Also change the order of the classes remaining in log.h to ensure that the
base classes are always defined before the derived ones.

Closes #14784.

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

12 years agoSplit documentation of non-GUI wxEvent-related classes.
Vadim Zeitlin [Mon, 29 Oct 2012 15:15:33 +0000 (15:15 +0000)] 
Split documentation of non-GUI wxEvent-related classes.

Separate GUI from base classes to make it easier to generate wrappers for just
the latter using e.g. SWIG.

Closes #14785.

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

12 years agoGet rid of wxAuiToolBar::m_style and just use base class m_windowStyle.
Vadim Zeitlin [Mon, 29 Oct 2012 14:50:42 +0000 (14:50 +0000)] 
Get rid of wxAuiToolBar::m_style and just use base class m_windowStyle.

This fixes an assert exposed by the addition of wxAuiToolBar::Create() in
r72785: as m_style was not initialized before, calling GetWindowStyle() from
wxControl::Create() returned wrong flags.

Fix this by just removing m_style completely, there doesn't seem to be any
need for it nor for overriding GetWindowStyleFlag().

See #13520.

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

12 years agoFix the use of obsolete wxDD_NEW_DIR_BUTTON in wxOSX.
Vadim Zeitlin [Mon, 29 Oct 2012 01:20:28 +0000 (01:20 +0000)] 
Fix the use of obsolete wxDD_NEW_DIR_BUTTON in wxOSX.

Use wxDD_DIR_MUST_EXIST, testing for wxDD_NEW_DIR_BUTTON always failed.

Closes #13596.

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

12 years agoNo changes, just avoid code duplication in wxOSX wxDirDialog.
Vadim Zeitlin [Mon, 29 Oct 2012 01:20:26 +0000 (01:20 +0000)] 
No changes, just avoid code duplication in wxOSX wxDirDialog.

Factor our common parts of wxDirDialog::ShowModal() and ShowWindowModal() in
OSXCreatePanel() helper.

Also some minor cosmetic changes.

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

12 years agoAvoid double destruction of wxTipWindow under wxOSX.
Vadim Zeitlin [Mon, 29 Oct 2012 01:20:21 +0000 (01:20 +0000)] 
Avoid double destruction of wxTipWindow under wxOSX.

Hiding the window results in wxEVT_KILL_FOCUS under OS X and this destroys it
already, so when we call Destroy() from wxTipWindow::Close() later, it
triggers assert about destroying it twice.

Avoid doing this under OS X for now, even though the real problem is probably
the discrepancy in wxEVT_KILL_FOCUS event generation under different platforms.

Closes #14651.

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

12 years agoDocument which wxWebView methods must wait for a page load before being called.
Steve Lamerton [Sun, 28 Oct 2012 21:01:06 +0000 (21:01 +0000)] 
Document which wxWebView methods must wait for a page load before being called.

Closes #14768

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

12 years agoDon't return "void" to fix MSVC6 compilation.
Vadim Zeitlin [Sun, 28 Oct 2012 13:31:50 +0000 (13:31 +0000)] 
Don't return "void" to fix MSVC6 compilation.

VC6 doesn't support returning void "value".

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

12 years agoUpdates to Indonesian translations by Rahmat Bambang.
Vadim Zeitlin [Sun, 28 Oct 2012 12:36:06 +0000 (12:36 +0000)] 
Updates to Indonesian translations by Rahmat Bambang.

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

12 years agoImplement support for button mnemonics in wxOSX/Cocoa.
Vadim Zeitlin [Sun, 28 Oct 2012 01:08:32 +0000 (01:08 +0000)] 
Implement support for button mnemonics in wxOSX/Cocoa.

Set the mnemonic as "key equivalent".

Closes #12917.

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

12 years agoImprove splitter appearance in wxOSX/Cocoa.
Vadim Zeitlin [Sun, 28 Oct 2012 01:08:28 +0000 (01:08 +0000)] 
Improve splitter appearance in wxOSX/Cocoa.

Try to imitate NSSplitView better.

Closes #12921.

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

12 years agoImplement image support for wxNotebook pages in wxOSX/Cocoa.
Vadim Zeitlin [Sun, 28 Oct 2012 01:08:24 +0000 (01:08 +0000)] 
Implement image support for wxNotebook pages in wxOSX/Cocoa.

This currently doesn't work correctly for left/right orientations but at least
it does work for the default top (and also bottom) one.

Closes #12754.

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

12 years agoFix taskbar sample compilation under wxOSX/Cocoa.
Vadim Zeitlin [Sun, 28 Oct 2012 01:08:20 +0000 (01:08 +0000)] 
Fix taskbar sample compilation under wxOSX/Cocoa.

Use wxTBI_XXX constants instead of wxTaskBarIcon::XXX ones which don't seem to
exist any longer.

See #11831.

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

12 years agoFix the pages range in the print dialog in wxOSX.
Vadim Zeitlin [Sun, 28 Oct 2012 01:08:16 +0000 (01:08 +0000)] 
Fix the pages range in the print dialog in wxOSX.

Set the min/max pages earlier for them to be taken into account and also
actually do set them in the print settings.

Closes #8349.

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

12 years agoAnother attempt to fix wxTextMeasure compilation with VC6.
Vadim Zeitlin [Sat, 27 Oct 2012 12:28:04 +0000 (12:28 +0000)] 
Another attempt to fix wxTextMeasure compilation with VC6.

Simply make the methods accessed by the nested class public.

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

12 years agoAllow using wxTextMeasure::GetLargestStringExtent() with wxArrayString.
Vadim Zeitlin [Sat, 27 Oct 2012 12:28:00 +0000 (12:28 +0000)] 
Allow using wxTextMeasure::GetLargestStringExtent() with wxArrayString.

Change the signature of this method to take the number of strings and the
pointer to the first of them instead of wxVector<wxString> as this allows it
to be used with all of wxVector<wxString>, wxArrayString and raw arrays of
wxStrings.

Also return the computed size from it instead of filling output parameters.

Closes #14781.

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

12 years agoAllow wxTextMeasure to work with non-native wxDC objects too.
Vadim Zeitlin [Sat, 27 Oct 2012 12:27:56 +0000 (12:27 +0000)] 
Allow wxTextMeasure to work with non-native wxDC objects too.

Just forward back to wxDC itself in this case instead of using the
platform-specific code in wxTextMeasure that only works with native DCs.

See #14781.

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

12 years agoFix warning about signed/unsigned comparison in wxFile::ReadAll().
Vadim Zeitlin [Sat, 27 Oct 2012 12:27:53 +0000 (12:27 +0000)] 
Fix warning about signed/unsigned comparison in wxFile::ReadAll().

Compare ssize_t value with another ssize_t value instead of size_t one to
avoid warnings.

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

12 years agoJust fix header comments of wxTextMeasure-related files, no real changes.
Vadim Zeitlin [Sat, 27 Oct 2012 12:27:48 +0000 (12:27 +0000)] 
Just fix header comments of wxTextMeasure-related files, no real changes.

See #14781.

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

12 years agoAdd missing WXK constants for the control keys
Robin Dunn [Sat, 27 Oct 2012 03:15:17 +0000 (03:15 +0000)] 
Add missing WXK constants for the control keys

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

12 years agoGenerate the interface file for STC from gen_iface too.
Robin Dunn [Sat, 27 Oct 2012 03:15:08 +0000 (03:15 +0000)] 
Generate the interface file for STC from gen_iface too.

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

12 years agoFix incorrect libraries in the documentation.
Vadim Zeitlin [Sat, 27 Oct 2012 01:27:23 +0000 (01:27 +0000)] 
Fix incorrect libraries in the documentation.

Use wxcore for the GUI classes that were mistakenly documented as belonging to
the wxbase library.

Closes #14783.

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

12 years agoAdd wxAuiToolBar::Create().
Vadim Zeitlin [Sat, 27 Oct 2012 01:27:19 +0000 (01:27 +0000)] 
Add wxAuiToolBar::Create().

Implement two-step creation of wxAuiToolBar to allow doing it from XRC.

See #13520.

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

12 years agoRenamed file containing wxAuiToolBar documentation.
Vadim Zeitlin [Sat, 27 Oct 2012 01:27:16 +0000 (01:27 +0000)] 
Renamed file containing wxAuiToolBar documentation.

The real header is called wx/aui/auibar.h, not wx/aui/toolbar.h.

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

12 years agoFix PCH-less build after previous commit.
Vadim Zeitlin [Sat, 27 Oct 2012 01:27:13 +0000 (01:27 +0000)] 
Fix PCH-less build after previous commit.

Need to include wx/window.h now that wx/animate.h is not included any more.

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

12 years agoBreak implicit dependency of "core" on "adv" via wxXmlResourceHandlerImplBase.
Vadim Zeitlin [Sat, 27 Oct 2012 00:46:58 +0000 (00:46 +0000)] 
Break implicit dependency of "core" on "adv" via wxXmlResourceHandlerImplBase.

wxXmlResourceHandlerImplBase::GetAnimation() returned wxAnimation by value
which created references to wxAnimationCtrlNameStr and wxNullAnimation
symbols, defined in the "adv" library, in "core" when using Sun CC even though
they were not referenced directly.

Fix this by returning wxAnimation by pointer to keep it opaque for "core" code.

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

12 years agoCompilation fix for STL build after the last commit.
Vadim Zeitlin [Thu, 25 Oct 2012 23:55:54 +0000 (23:55 +0000)] 
Compilation fix for STL build after the last commit.

Add missing fn_str() call.

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

12 years agoStore the selected directory in wxGTK wxDirDialog.
Vadim Zeitlin [Thu, 25 Oct 2012 23:26:36 +0000 (23:26 +0000)] 
Store the selected directory in wxGTK wxDirDialog.

This should help with the selected directory not being remembered since
GTK+ 2.24.11 as apparently gtk_file_chooser_get_filename() doesn't work any
more now after hiding the dialog -- so call it before doing this and save the
result.

Also get rid of the ugly and apparently completely unnecessary OnFakeOk().

Closes #14525.

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

12 years agoPrevent pasting too much text into limited length wxTextCtrl in wxGTK.
Vadim Zeitlin [Thu, 25 Oct 2012 23:26:32 +0000 (23:26 +0000)] 
Prevent pasting too much text into limited length wxTextCtrl in wxGTK.

Improve insert-text signal handler to block pasting text into the control,
which may overflow the specified max length in one action, and not only
entering individual characters.

See #3158.

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

12 years agoMake wxFILE_EXISTS_SYMLINK work on its own, without wxFILE_EXISTS_NO_FOLLOW.
Vadim Zeitlin [Thu, 25 Oct 2012 22:30:43 +0000 (22:30 +0000)] 
Make wxFILE_EXISTS_SYMLINK work on its own, without wxFILE_EXISTS_NO_FOLLOW.

Include the wxFILE_EXISTS_NO_FOLLOW bit in wxFILE_EXISTS_SYMLINK definition to
allow using just wxFileName::Exists(wxFILE_EXISTS_SYMLINK) which used to never
work because the link was followed.

Closes #14777.

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

12 years agoInclude wx/xml/xml.h from the XRC handlers that need it.
Vadim Zeitlin [Thu, 25 Oct 2012 22:19:20 +0000 (22:19 +0000)] 
Include wx/xml/xml.h from the XRC handlers that need it.

Including this header from wx/xrc/xmlres.h itself only when WXMAKINGDLL_XRC is
defined doesn't work when we're building a static library and not a shared/DLL
one and we don't have any symbol defined in this case, so just don't try to be
smart and include this header from the files that need it.

This fixes breakage of r72756.

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

12 years agoPCH-less build fix for DynamicLibraryTestCase.
Vadim Zeitlin [Wed, 24 Oct 2012 23:41:04 +0000 (23:41 +0000)] 
PCH-less build fix for DynamicLibraryTestCase.

Include wx/log.h needed by wxLogWarning().

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

12 years agoImplement clipping in wxSVGFileDC.
Vadim Zeitlin [Wed, 24 Oct 2012 23:40:41 +0000 (23:40 +0000)] 
Implement clipping in wxSVGFileDC.

Support setting the clipping region and add update the documentation and the
sample accordingly.

Closes #14462.

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

12 years agoNo real changes, just avoid unnecessary string operations in wxSVGFileDCImpl.
Vadim Zeitlin [Wed, 24 Oct 2012 23:40:17 +0000 (23:40 +0000)] 
No real changes, just avoid unnecessary string operations in wxSVGFileDCImpl.

Simply write string together instead of concatenating them during run-time.

See #14462.

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

12 years agoNo changes, just remove unused variable from wxSVGFileDCImpl.
Vadim Zeitlin [Wed, 24 Oct 2012 23:39:55 +0000 (23:39 +0000)] 
No changes, just remove unused variable from wxSVGFileDCImpl.

sWarn was never used, drop it.

See #14462.

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

12 years agoShow some information about the environment in the unit tests.
Vadim Zeitlin [Wed, 24 Oct 2012 23:14:01 +0000 (23:14 +0000)] 
Show some information about the environment in the unit tests.

For now just show the system description and the locale, this should already
be helpful for diagnosing some test failures.

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

12 years agoTest for the shared library existence in DynamicLibraryTestCase.
Vadim Zeitlin [Wed, 24 Oct 2012 23:13:38 +0000 (23:13 +0000)] 
Test for the shared library existence in DynamicLibraryTestCase.

Trying to understand why does the test fail in some build slaves builds.

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

12 years agoAdd a missing test for wxHAS_CALL_AFTER in the implementation too.
Vadim Zeitlin [Wed, 24 Oct 2012 23:13:16 +0000 (23:13 +0000)] 
Add a missing test for wxHAS_CALL_AFTER in the implementation too.

This completes the changes of r72743.

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