]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/timer.h
Allow building in unicode mode with just "make -f makefile.g95 UNICODE=1"
[wxWidgets.git] / include / wx / timer.h
index 7fff1bbdc33471e532f4af33e05b051135f16120..2c030fbd07e640dde65ecd53a1c1cb428ccfff72 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef _WX_TIMER_H_BASE_
 #define _WX_TIMER_H_BASE_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "timerbase.h"
 #endif
 
 // wxTimer
 // ----------------------------------------------------------------------------
 
+// more readable flags for Start():
+
+// generate notifications periodically until the timer is stopped (default)
+#define wxTIMER_CONTINUOUS FALSE
+
+// only send the notification once and then stop the timer
+#define wxTIMER_ONE_SHOT TRUE
+
 // the interface of wxTimer class
 class WXDLLEXPORT wxTimerBase : public wxObject
 {