synchronizing the definition of wxLoadQueryNearestFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
extern wxNativeFont
|
||||
wxLoadQueryNearestFont(int pointSize,
|
||||
int family,
|
||||
int style,
|
||||
int weight,
|
||||
wxFontStyle style,
|
||||
wxFontWeight weight,
|
||||
bool underlined,
|
||||
const wxString &facename,
|
||||
wxFontEncoding encoding,
|
||||
|
@@ -1079,8 +1079,8 @@ wxNativeFont wxLoadQueryNearestFont(int pointSize,
|
||||
|
||||
// first round: search for equal, then for smaller and for larger size
|
||||
// with the given weight and style
|
||||
int testweight = weight;
|
||||
int teststyle = style;
|
||||
wxFontWeight testweight = weight;
|
||||
wxFontStyle teststyle = style;
|
||||
|
||||
for ( round = 0; round < 3; round++ )
|
||||
{
|
||||
|
Reference in New Issue
Block a user