]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/scrtimer.h
Warning fixes after char->wxChar in wxVariant.
[wxWidgets.git] / include / wx / univ / scrtimer.h
index 82940c45aae10497403db6c1f034a0d44b05ae94..a94c528f7f3c0ca9852544fa0a02bf73d1eb97f0 100644 (file)
@@ -5,12 +5,19 @@
 // Modified by:
 // Created:     18.02.01
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
+// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
 // 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"
 
 // ----------------------------------------------------------------------------
@@ -32,10 +39,13 @@ public:
 
 protected:
     // to implement in derived classes: perform the scroll action and return
-    // TRUE to continue scrolling or FALSE to stop
+    // true to continue scrolling or false to stop
     virtual bool DoNotify() = 0;
 
     // should we skip the next timer event?
     bool m_skipNext;
 };
 
+#endif // wxUSE_TIMER
+
+#endif // _WX_UNIV_SCRTIMER_H