]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/timerunx.cpp
don't use deprecated wxMenuItem methods
[wxWidgets.git] / src / unix / timerunx.cpp
index c7734b423572fe0aa72c5b023335eb5be01019b8..9c7468ea53c28e140dc09264ecb22c4953ac377e 100644 (file)
@@ -18,6 +18,8 @@
 
 #include "wx/wxprec.h"
 
+#if wxUSE_TIMER
+
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/module.h"
@@ -254,3 +256,5 @@ wxUsecClock_t wxGetLocalTimeUsec()
     return wxGetLocalTimeMillis() * 1000L;
 }
 
+#endif // wxUSE_TIMER
+