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
|
extern wxNativeFont
|
||||||
wxLoadQueryNearestFont(int pointSize,
|
wxLoadQueryNearestFont(int pointSize,
|
||||||
int family,
|
int family,
|
||||||
int style,
|
wxFontStyle style,
|
||||||
int weight,
|
wxFontWeight weight,
|
||||||
bool underlined,
|
bool underlined,
|
||||||
const wxString &facename,
|
const wxString &facename,
|
||||||
wxFontEncoding encoding,
|
wxFontEncoding encoding,
|
||||||
|
@@ -1079,8 +1079,8 @@ wxNativeFont wxLoadQueryNearestFont(int pointSize,
|
|||||||
|
|
||||||
// first round: search for equal, then for smaller and for larger size
|
// first round: search for equal, then for smaller and for larger size
|
||||||
// with the given weight and style
|
// with the given weight and style
|
||||||
int testweight = weight;
|
wxFontWeight testweight = weight;
|
||||||
int teststyle = style;
|
wxFontStyle teststyle = style;
|
||||||
|
|
||||||
for ( round = 0; round < 3; round++ )
|
for ( round = 0; round < 3; round++ )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user