diff --git a/demos/life/life.cpp b/demos/life/life.cpp index 91dc7f236b..44bca3027e 100644 --- a/demos/life/life.cpp +++ b/demos/life/life.cpp @@ -980,7 +980,7 @@ void LifeCanvas::OnScroll(wxScrollWinEvent& event) } } -#ifdef __WXGTK__ // what about Motif? +#if defined (__WXGTK__) || defined(__WXMOTIF__) // what about Motif? // wxGTK updates the thumb automatically (wxMSW doesn't); reset it back if (type != wxEVT_SCROLLWIN_THUMBTRACK) {