X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27dc5184e5a8d16d4501398a630345f9fa0edb8e..daa7ae0c3053885e0c605af99c8c62c92dae016e:/demos/life/life.cpp diff --git a/demos/life/life.cpp b/demos/life/life.cpp index 2d6950a106..c08bb17c4f 100644 --- a/demos/life/life.cpp +++ b/demos/life/life.cpp @@ -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();