git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35024
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
// second round: use normal weight
if ( round == 1 )
{
// second round: use normal weight
if ( round == 1 )
if ( testweight != wxNORMAL )
{
testweight = wxNORMAL;
if ( testweight != wxNORMAL )
{
testweight = wxNORMAL;
font = wxLoadQueryFont(i, family, teststyle, testweight, underlined,
facename, info.xregistry, info.xencoding,
xFontName);
font = wxLoadQueryFont(i, family, teststyle, testweight, underlined,
facename, info.xregistry, info.xencoding,
xFontName);
- // Search for larger size (approx.)
- for ( i = pointSize + 10; !font && i <= max_size; i += 10 )
- {
+ // Search for larger size (approx.)
+ for ( i = pointSize + 10; !font && i <= max_size; i += 10 )
+ {
font = wxLoadQueryFont(i, family, teststyle, testweight, underlined,
facename, info.xregistry, info.xencoding,
xFontName);
font = wxLoadQueryFont(i, family, teststyle, testweight, underlined,
facename, info.xregistry, info.xencoding,
xFontName);