Fixed minor issue in Qt and wxWidgets samples.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1139 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
b86c4627ab
commit
b602a3f8dc
2 changed files with 3 additions and 5 deletions
|
@ -55,8 +55,7 @@ private :
|
|||
void OnMouseMove(wxMouseEvent& Event)
|
||||
{
|
||||
// Make the sprite follow the mouse cursor
|
||||
mySprite.SetX(Event.GetX());
|
||||
mySprite.SetY(Event.GetY());
|
||||
mySprite.SetPosition(ConvertCoords(Event.GetX(), Event.GetY()));
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue