]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/scrtimer.h
fix warnings in EventsSuppressor ctor from gcc with -O option
[wxWidgets.git] / include / wx / univ / scrtimer.h
index 9203e8b22715291bad35c85b709261b24eb2fe93..a94c528f7f3c0ca9852544fa0a02bf73d1eb97f0 100644 (file)
@@ -9,8 +9,15 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
+#ifndef _WX_UNIV_SCRTIMER_H
+#define _WX_UNIV_SCRTIMER_H
+
 // NB: this class is implemented in scrolbar.cpp
 
+#include "wx/defs.h"
+
+#if wxUSE_TIMER
+
 #include "wx/timer.h"
 
 // ----------------------------------------------------------------------------
@@ -39,3 +46,6 @@ protected:
     bool m_skipNext;
 };
 
+#endif // wxUSE_TIMER
+
+#endif // _WX_UNIV_SCRTIMER_H