fix for what the patch 529900 was trying to fix (loading fonts with size -1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -841,7 +841,7 @@ static wxNativeFont wxLoadQueryFont(int pointSize,
|
||||
|
||||
// if pointSize is -1, don't specify any
|
||||
wxString sizeSpec;
|
||||
if ( fontSpec == -1 )
|
||||
if ( pointSize == -1 )
|
||||
{
|
||||
sizeSpec = _T('*');
|
||||
}
|
||||
|
Reference in New Issue
Block a user