]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/timer.cpp
add automatic rescaling to wxArtProvider
[wxWidgets.git] / src / os2 / timer.cpp
index 05784150e481451763e88a241148bf5c503bfd97..d3c2fdff27053130fc9987a39035401d5afd2f9c 100644 (file)
@@ -44,7 +44,7 @@ ULONG wxTimerProc(HWND hwnd, ULONG, int nIdTimer, ULONG);
 
 IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxObject)
 
-wxTimer::wxTimer()
+void wxTimer::Init()
 {
     m_ulId = 0;
 }
@@ -52,7 +52,7 @@ wxTimer::wxTimer()
 wxTimer::~wxTimer()
 {
     Stop();
-
+    wxTimer::Stop();
     wxTimerList.DeleteObject(this);
 }