replaced more int/longs with wxCoord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -179,8 +179,8 @@ void MainWindow::ScanBuffer(wxDC *dc, bool DrawIt, int *max_x, int *max_y)
|
||||
// See what ACTUAL char height is
|
||||
if(m_normalFont)
|
||||
dc->SetFont(*m_normalFont);
|
||||
long xx;
|
||||
long yy;
|
||||
wxCoord xx;
|
||||
wxCoord yy;
|
||||
dc->GetTextExtent(_T("X"), &xx, &yy);
|
||||
char_height = (int)yy;
|
||||
|
||||
|
Reference in New Issue
Block a user