Typo fixes in comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f660b2062c
commit
8180d40b1f
@ -380,7 +380,7 @@ wxImage wxImage::ShrinkBy( int xFactor , int yFactor ) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// In case this is a cursor, make sure the hotspot is scalled accordingly:
|
// In case this is a cursor, make sure the hotspot is scaled accordingly:
|
||||||
if ( HasOption(wxIMAGE_OPTION_CUR_HOTSPOT_X) )
|
if ( HasOption(wxIMAGE_OPTION_CUR_HOTSPOT_X) )
|
||||||
image.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X,
|
image.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X,
|
||||||
(GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_X))/xFactor);
|
(GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_X))/xFactor);
|
||||||
@ -466,7 +466,7 @@ wxImage wxImage::Scale( int width, int height ) const
|
|||||||
y += y_delta;
|
y += y_delta;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In case this is a cursor, make sure the hotspot is scalled accordingly:
|
// In case this is a cursor, make sure the hotspot is scaled accordingly:
|
||||||
if ( HasOption(wxIMAGE_OPTION_CUR_HOTSPOT_X) )
|
if ( HasOption(wxIMAGE_OPTION_CUR_HOTSPOT_X) )
|
||||||
image.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X,
|
image.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X,
|
||||||
(GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_X)*width)/old_width);
|
(GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_X)*width)/old_width);
|
||||||
|
Loading…
Reference in New Issue
Block a user