Some doc changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -167,7 +167,7 @@ void BombsCanvasClass::Refresh(int xc1, int yc1, int xc2, int yc2)
|
||||
// Called when the canvas receives a mouse event.
|
||||
void BombsCanvasClass::OnEvent(wxMouseEvent& event)
|
||||
{
|
||||
long fx, fy;
|
||||
wxCoord fx, fy;
|
||||
event.GetPosition(&fx, &fy);
|
||||
int x = fx/(x_cell*X_UNIT);
|
||||
int y = fy/(y_cell*Y_UNIT);
|
||||
|
Reference in New Issue
Block a user