#ifdef __VMS__
#pragma message disable nosimpint
#endif
-#include <Xm/Xm.h>
+
#ifdef __VMS__
#pragma message enable nosimpint
#endif
-#include "wx/motif/private.h"
+#include "wx/x11/private.h"
IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxObject)
if (timer->m_id == 0)
return; // Avoid to process spurious timer events
+ // TODO
+#if 0
if (!timer->m_oneShot)
timer->m_id = XtAppAddTimeOut((XtAppContext) wxTheApp->GetAppContext(),
timer->m_milli,
(XtTimerCallbackProc) wxTimerCallback,
(XtPointer) timer);
else
- timer->m_id = 0;
+#endif
+ timer->m_id = 0;
timer->Notify();
}
if (!wxTimerList.Find((long)this))
wxTimerList.Append((long)this, this);
-
+ // TODO
+#if 0
m_id = XtAppAddTimeOut((XtAppContext) wxTheApp->GetAppContext(),
m_milli,
(XtTimerCallbackProc) wxTimerCallback,
(XtPointer) this);
+#endif
return TRUE;
}
{
if (m_id > 0)
{
+ // TODO
+#if 0
XtRemoveTimeOut (m_id);
+#endif
m_id = 0;
}
m_milli = 0 ;