fixed MSVC6 warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: common/fontcmn.cpp
|
// Name: common/fontcmn.cpp
|
||||||
// Purpose: implementation of wxFontBase methods
|
// Purpose: implementation of wxFontBase methods
|
||||||
// Author: Vadim Zeitlin
|
// Author: Vadim Zeitlin
|
||||||
@@ -57,8 +57,8 @@
|
|||||||
static void AdjustFontSize(wxFont font, wxDC& dc, const wxSize& pixelSize)
|
static void AdjustFontSize(wxFont font, wxDC& dc, const wxSize& pixelSize)
|
||||||
{
|
{
|
||||||
int currentSize = font.GetPointSize();
|
int currentSize = font.GetPointSize();
|
||||||
int largestGood;
|
int largestGood wxDUMMY_INITIALIZE(0);
|
||||||
int smallestBad;
|
int smallestBad wxDUMMY_INITIALIZE(0);
|
||||||
|
|
||||||
bool initialGoodFound = false;
|
bool initialGoodFound = false;
|
||||||
bool initialBadFound = false;
|
bool initialBadFound = false;
|
||||||
|
Reference in New Issue
Block a user