Add wxControl::GetSizeFromTextSize() to size the control to its text.

This function can be used to size a, say, wxTextCtrl to be exactly of the size
needed to enter the given amount of text in it.

This patch adds wxGTK implementation for wxTextCtrl, wxChoice and wxCombobox;
changes to the samples and the documentation.

Closes #14812.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Set ID correctly for wxScrollWinEvents generated by wxScrollHelper.

Add forgotten wxEvent::SetId() calls.

See #14757.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Fix incorrect wxSizerFlags::Border() call in the scroll sample.

Using 20 instead of a wxDirection resulted in an assert, fix the syntax.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Cache HDC used for painting for the entire duration of WM_PAINT processing.

This fixes a long standing problem with 2 wxPaintDC created one after another
(and not with nested lifetimes, which was handled by the caching mechanism
previously used) not working correctly. And as this was exactly what happened
when handling wxEVT_PAINT for wxScrolled, it also fixes drawing artefacts when
using scrolled windows.

Closes #14757.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Simplify wxEVT_PAINT handling in wxScrollHelperBase.

Just always call the virtual OnDraw() if wxEVT_PAINT wasn't handled. This is
much simpler than connecting our own special handler just to set a flag saying
whether the event was processed which was very complicated and didn't work
anyhow for the statically connected wxEVT_PAINT handlers.

See #14757.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Fix link errors with VC 11 in DLL STL build.

Don't declare wxWindowList as DLL-exported. It's unnecessary and appears to
create problems for VC 11.

Closes #14741.

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

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>
added MSVC 10 project files

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>
added ignored dir

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>
updated files

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>
added ignored file

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>
use my own wx setup

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>
testcase for combo

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>
updated file

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>
use default inlinig as the compiler decides

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>
MSVC changed the file

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>
MSVC has changed the file

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>
changed files

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>
enable original behavior

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>
use wxT() preprocessor macro

Signed-off-by: Marian 'VooDooMan' Meravy <vdm@vdm.no-ip.org>