Fix wxFont construction from default wxFontInfo in wxMSW.

Don't use -1 as the real point size.

Also update the font sample to allow testing such font.

Closes #16468.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-08-28 12:54:52 +00:00
parent 7a71428478
commit 05a1abfb1f
3 changed files with 12 additions and 2 deletions

View File

@@ -610,6 +610,7 @@ wxMSW:
- Add paragraph spacing attributes support to wxTextCtrl (dannchr).
- Show new style directory selector even for non existent paths (raychow).
- Fix order of radial gradient stops (Alexandru Pana).
- Fix font reated using wxFont(wxFontInfo()) ctor.
3.0.1: (released 2014-06-15)