]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/timer.cpp
Added wxUSE_NUMBERDLG to setup.h; added some files to VC++ project files;
[wxWidgets.git] / src / motif / timer.cpp
index 41e30b7ae33314b9c0c2605908c8efd75fbe4c7a..570e4186f97f8fb843a5d017fcb387ee099631e6 100644 (file)
 #include "wx/app.h"
 #include "wx/list.h"
 
+#ifdef __VMS__
+#pragma message disable nosimpint
+#endif
 #include <Xm/Xm.h>
+#ifdef __VMS__
+#pragma message enable nosimpint
+#endif
 
 #include "wx/motif/private.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxObject)
-#endif
 
 static wxList wxTimerList(wxKEY_INTEGER);
 
@@ -47,9 +51,10 @@ void wxTimerCallback (wxTimer * timer)
   timer->Notify();
 }
 
-wxTimer::wxTimer()
+void wxTimer::Init()
 {
     m_id = 0;
+    m_milli = 1000;
 }
 
 wxTimer::~wxTimer()