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:
Vadim Zeitlin
2002-03-14 21:38:33 +00:00
parent c7d8615553
commit 73b0423d0f

View File

@@ -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('*');
}