From: Vadim Zeitlin Date: Thu, 4 Nov 1999 15:49:20 +0000 (+0000) Subject: compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/58e648e00ce51d964d74a6c12f09bd039529d180 compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/bombs/bombs1.cpp b/samples/bombs/bombs1.cpp index 9215dd6978..f9b24f48eb 100644 --- a/samples/bombs/bombs1.cpp +++ b/samples/bombs/bombs1.cpp @@ -168,7 +168,7 @@ void BombsCanvasClass::Refresh(int xc1, int yc1, int xc2, int yc2) void BombsCanvasClass::OnEvent(wxMouseEvent& event) { long fx, fy; - event.Position(&fx, &fy); + event.GetPosition(&fx, &fy); int x = fx/(x_cell*X_UNIT); int y = fy/(y_cell*Y_UNIT); if (x