]> git.saurik.com Git - wxWidgets.git/commitdiff
Motif blindfix :-)
authorGuillermo Rodriguez Garcia <guille@iies.es>
Sat, 4 Mar 2000 13:20:14 +0000 (13:20 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Sat, 4 Mar 2000 13:20:14 +0000 (13:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/life/life.cpp

index 91dc7f236b69f20ff25b19b4767ea0e656fc6c25..44bca3027ec8752ff13a55c7a42b335b469711a9 100644 (file)
@@ -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)
     {