Warning fixes for VC5 (Igor Korot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -703,7 +703,7 @@ bool wxRichTextCtrl::ScrollIntoView(long position, int keyCode)
|
||||
startX = 0;
|
||||
startY = startY * ppuY;
|
||||
|
||||
int sx, sy;
|
||||
int sx = 0, sy = 0;
|
||||
GetVirtualSize(& sx, & sy);
|
||||
sx = 0;
|
||||
if (ppuY != 0)
|
||||
@@ -796,7 +796,7 @@ bool wxRichTextCtrl::IsPositionVisible(long pos) const
|
||||
startX = 0;
|
||||
startY = startY * ppuY;
|
||||
|
||||
int sx, sy;
|
||||
int sx = 0, sy = 0;
|
||||
GetVirtualSize(& sx, & sy);
|
||||
sx = 0;
|
||||
if (ppuY != 0)
|
||||
|
||||
Reference in New Issue
Block a user