Fix wxButtonToolBar compilation after adding new wxFont ctor overload.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Jan 2012 14:42:53 +0000 (14:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Jan 2012 14:42:53 +0000 (14:42 +0000)
commit9aa727fa7d79b16588389a997602cc78a427a4b8
treea841355ba933aedbeffdf39e56b68b7c61e4a230
parent2d5409f936104b4a3a1f1f67a36503083414466e
Fix wxButtonToolBar compilation after adding new wxFont ctor overload.

The new wxFont ctor added in r70445 resulted in ambiguity when using
wxFont(int, wxFontFamily, wxFontStyle, int) ctor mixing the type-safe values
for the 2nd and 3rd arguments with "untyped" int for the 4th one. Fix this by
avoiding the use of this ctor as it seems impossible to do it in any other
way.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/buttonbar.cpp