]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/private/timer.h
fixing 10.5 only compiles
[wxWidgets.git] / include / wx / generic / private / timer.h
index 9db8f4148906853b7b336e4928d683b05072167f..fcf598d1da6e177056b086659150c9c8b91c5cd5 100644 (file)
@@ -7,10 +7,11 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-
 #ifndef _WX_GENERIC_PRIVATE_TIMER_H_
 #define _WX_GENERIC_PRIVATE_TIMER_H_
 
+#if wxUSE_TIMER
+
 #include "wx/private/timer.h"
 
 //-----------------------------------------------------------------------------
@@ -40,4 +41,6 @@ private:
     wxTimerDesc *m_desc;
 };
 
+#endif // wxUSE_TIMER
+
 #endif // _WX_GENERIC_PRIVATE_TIMER_H_