]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/private/timer.h
Fixed non-precompiled headers compilation
[wxWidgets.git] / include / wx / gtk / private / timer.h
index 2753541ef65b2b4b6f84901570c64ae6daef88d3..53d51fc9d5af1f808be15ae77705bc9088c97fbe 100644 (file)
@@ -10,6 +10,8 @@
 #ifndef _WX_GTK_PRIVATE_TIMER_H_
 #define _WX_GTK_PRIVATE_TIMER_H_
 
+#if wxUSE_TIMER
+
 #include "wx/private/timer.h"
 
 //-----------------------------------------------------------------------------
@@ -29,4 +31,6 @@ protected:
     int m_sourceId;
 };
 
+#endif // wxUSE_TIMER
+
 #endif // _WX_GTK_PRIVATE_TIMER_H_