]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/life/life.cpp
wx/math.h integration
[wxWidgets.git] / demos / life / life.cpp
index 2d6950a106a20563142bced28a1c50cce4b5ef08..c08bb17c4f172fc33d76d6ab704d4e31f7954afe 100644 (file)
@@ -1025,7 +1025,7 @@ void LifeCanvas::OnSize(wxSizeEvent& event)
 
 void LifeCanvas::OnScroll(wxScrollWinEvent& event)
 {
-    WXTYPE type = event.GetEventType();
+    WXTYPE type = (WXTYPE)event.GetEventType();
     int pos     = event.GetPosition();
     int orient  = event.GetOrientation();