Add wxIcon::CreateFromHICON() to wxMSW.

Provide a public method properly assigning an HICON to wxIcon, instead of
asking people to call SetHICON() and SetSize().

Closes #15023.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Create new tab at the correct location in wxAuiNotebook.

Create the new tab in wxAuiTabCtrl that was double clicked and not near the
last selected tab which could have been in another wxAuiTabCtrl.

Closes #14995.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Create wxCURSOR_RIGHT_ARROW on the fly from normal arrow cursor under MSW.

This allows to avoid having another cursor resource and also makes this cursor
nicer as rightarr.cur looks rather out of place under modern Windows systems.

Closes #14991.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Compilation fix for !wxHAS_MSW_BACKGROUND_ERASE_HOOK case.

This doesn't actually change anything as wxHAS_MSW_BACKGROUND_ERASE_HOOK is
always defined, except under WinCE where this file is not used anyhow, but do
test it here for completeness.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Erase the entire virtual area of the window in the erase sample.

Just clearing the DC is not enough when the window is scrolled, so clear the
entire virtual area. We should be able to optimize it by clearing just the
rectangle currently scrolled into view but this is at least correct, i.e.
doesn't result in corrupted display, even if it's suboptimal.

See #14917.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
No changes, just factor out PrepareDC() call in the erase sample.

Call this only once in DoPaint() itself instead of calling it twice before
calling it.

See #14917.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Account for scrolling when setting the background brush origin in wxMSW.

We must use physical coordinates for the brush origin to account for the
coordinates offset in scrolled windows, so add MSWAdjustBrushOrg() and call it
from MSWGetBgBrushForChild().

Closes #14917.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
sync with upstream SVN r73438 + patch for ICC

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

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

Signed-off-by: Marian 'VooDooMan' Meravy <vdm113@gmail.com>
patch for ICC
improved patching preprocessor: strip-out comments, so loop keyword will be recognized

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

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

Signed-off-by: Marian 'VooDooMan' Meravy <vdm113@gmail.com>
1. remove leftovers/merge tags; 2. patched for ICC

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

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

added note about GIT tag's versus "stable"/tested release

Signed-off-by: Marian 'VooDooMan' Meravy <vdm113@gmail.com>
use "IF NOT EXIST" for faster re-compilation

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

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

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