Squashed commit of the following:

commit bba23b58a83f25f275474d791fa131f314956bd9
Author: Vadim Zeitlin <vadim@wxwidgets.org>
Date:   Sat Aug 31 17:41:16 2013 +0000

    Rewrite wxLogXXX() macros to avoid "ambiguous else" warnings.

    Use a dummy for loop instead of an if statement to avoid all problems with the
    dangling else clauses: both the need for an artificially inversed "if" to make
    the code like

    	if ( something )
    		wxLogError("...");
    	else
    		something-else;

    to work as expected and to avoid warnings given by some versions of g++ and
    clang for the code above advising to add explicit braces.

    Closes #11829.

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

commit 68ea1d7b027cc3f37f99b301e53bca71165488e7
Author: Vadim Zeitlin <vadim@wxwidgets.org>
Date:   Sat Aug 31 17:41:13 2013 +0000

    Removed a method using wxColour from non-GUI benchmark code.

    No idea how could this work before but the presence of this code in the
    non-GUI benchmark project prevented it from building. As it's not used anyhow,
    just remove it.

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

commit 0f91090487478f64f8e802de964d17f366afd289
Author: Paul Cornett <paulcor@bullseye.com>
Date:   Sat Aug 31 03:25:12 2013 +0000

    Don't update position of widgets in a wxPizza from size_allocate handler.
    The values in m_{x,y} are not the same as client coordinates if the wxPizza is scrolled.
    Closes #15444

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

commit 7502d34c3312a0f0b751e4aea6898e8736f15bea
Author: Vadim Zeitlin <vadim@wxwidgets.org>
Date:   Fri Aug 30 23:32:42 2013 +0000

    Fix infinite loop in wxMSW with wxStaticBox inside non-wxTAB_TRAVERSAL parent.

    We didn't ensure that the parent of a (native) control with WS_EX_CONTROLPARENT
    had this style as well, unlike for our own windows. Fix this now to make
    certain that we never call ::IsDialogMessage() on a window whose parent
    doesn't have WS_EX_CONTROLPARENT as it simply hangs in this case, entering an
    infinite loop searching for the default button.

    Also try to reduce the possibility of such bugs in the future by checking for
    WS_EX_CONTROLPARENT and not wxTAB_TRAVERSAL before calling ::IsDialogMessage()
    even if this doesn't totally prevent them (it wasn't sufficient to fix even
    this particular bug).

    Closes #15458.

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

commit f048323dde903718ee82c669a674ed9b2247b398
Author: Vadim Zeitlin <vadim@wxwidgets.org>
Date:   Fri Aug 30 23:32:37 2013 +0000

    Fix wxMenu::GetTitle() before the menu is appended to the menu bar.

    The mnemonics conversion was not done correctly when the menu title contained
    them but the menu hadn't been appended to the menu bar yet.

    Closes #15461.

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

commit 8c733fa51f4db2c3b1bb278623850bda14f6d619
Author: Václav Slavík <vslavik@fastmail.fm>
Date:   Fri Aug 30 13:14:50 2013 +0000

    Loosen the assert in IsScrollIncrement().

    wxWindowGTK::GTKGetScrollEventType() tries to map GtkAdjustment's delta
    to either step or page increment by comparing it with the respective
    GtkAdjustment steps. Both of them can be 0, but this code is not
    expected to be called in such case.

    Yet, in practice, it occasionally is, see e.g.
    http://devel.aegisub.org/ticket/979GTKGetScrollEventType (wxWebView is
    prone to it as well).

    Check for >= 0 instead, to be more robust when faced with unexpected
    input from GTK+.

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

commit 1989bd9e2622aa77fccc0667b68f9f6ffd1b3bba
Author: Vadim Zeitlin <vadim@wxwidgets.org>
Date:   Thu Aug 29 20:44:58 2013 +0000

    Initialize wxImageFileProperty correctly when file is given in the ctor.

    Previously the file had to be specified later and the value passed to the ctor
    was ignored.

    Closes #15456.

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

commit 074501f3bc23c02ea30a02ccec5d9a67e1e79338
Author: Vadim Zeitlin <vadim@wxwidgets.org>
Date:   Thu Aug 29 12:33:44 2013 +0000

    Don't define __STRICT_ANSI__, we should build both with and without it.

    For some reason, wxDialUpManager code defined __STRICT_ANSI__ itself, don't do
    it as __STRICT_ANSI__ can be predefined by the compiler resulting in the
    redefinition warnings and, in any case, our code should build both with and
    without it.

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

commit 4e76d7c74895b50e7bd989e2e89f1b0d5aabc3c3
Author: Julian Smart <julian@anthemion.co.uk>
Date:   Thu Aug 29 11:41:48 2013 +0000

    Crash fix for inserting text into a buffer without an associated control

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

commit 264145ae47949837fe4fed02390b11d29e902b03
Author: Vadim Zeitlin <vadim@wxwidgets.org>
Date:   Thu Aug 29 11:15:53 2013 +0000

    Only patch bk-deps in configure if dependency tracking is used.

    Otherwise we get (harmless) errors when trying to patch a non-existent file.

    See #15454.

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

commit b6ea6853dee4be0432ca66cdc8bf523bc82f6039
Author: Jouk Jansen <joukj@hrem.nano.tudelft.nl>
Date:   Thu Aug 29 06:39:38 2013 +0000

    wxGTK1 : another msiing include file in evtloop.cpp

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

commit a08aa418e8fc86586922356f1538a6907c722f86
Author: Vadim Zeitlin <vadim@wxwidgets.org>
Date:   Wed Aug 28 20:52:46 2013 +0000

    Czech translations update from Zbyněk Schwarz.

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

commit 370af4352e0745e9eacc20ebc18eb59cb7703976
Author: Jouk Jansen <joukj@hrem.nano.tudelft.nl>
Date:   Tue Aug 27 11:46:13 2013 +0000

    revert nested event loop support for wxGTK1 because it causes applications hangs

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

Signed-off-by: Marian 'VooDooMan' Meravy <vdm113@gmail.com>
patched for ICC

Signed-off-by: Marian 'VooDooMan' Meravy <vdm113@gmail.com>