]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/timer.h
added wx/defs.h include to correct compilation issues under Mac OS X
[wxWidgets.git] / include / wx / timer.h
index 6a494be5ace5e8eed86072e3d6a4061288d77ead..c7459e915296ed7f6bc2a89d2c831655f2ce2d8d 100644 (file)
@@ -49,8 +49,8 @@ public:
     void SetOwner(wxEvtHandler *owner, int id = -1)
         { m_owner = owner; m_idTimer = id; }
 
     void SetOwner(wxEvtHandler *owner, int id = -1)
         { m_owner = owner; m_idTimer = id; }
 
-#ifdef __WXMAC_X__
-    virtual ~wxTimerBase() {} // Added min for Mac X
+#ifdef __DARWIN__
+    virtual ~wxTimerBase() { }
 #endif
 
     // working with the timer
 #endif
 
     // working with the timer
@@ -109,8 +109,8 @@ protected:
     #include "wx/motif/timer.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/timer.h"
     #include "wx/motif/timer.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/timer.h"
-#elif defined(__WXQT__)
-    #include "wx/qt/timer.h"
+#elif defined(__WXMGL__)
+    #include "wx/mgl/timer.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/timer.h"
 #elif defined(__WXPM__)
 #elif defined(__WXMAC__)
     #include "wx/mac/timer.h"
 #elif defined(__WXPM__)