]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/timer.cpp
Simplified BC++ makefiles; C++Builder 1.0 compilation seems to work;
[wxWidgets.git] / src / msw / timer.cpp
index 844e0b1f56f787dd6658bd8354ec4a9682ede794..d655f2805eabd32a4385869bafae9b62397e3564 100644 (file)
@@ -9,14 +9,6 @@
 // Licence:    wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-// ============================================================================
-// declarations
-// ============================================================================
-
-// ----------------------------------------------------------------------------
-// headers
-// ----------------------------------------------------------------------------
-
 #ifdef __GNUG__
     #pragma implementation "timer.h"
 #endif
@@ -43,7 +35,7 @@
 #include <time.h>
 #include <sys/types.h>
 
-#if !defined(__SC__) && !defined(__GNUWIN32__)
+#if !defined(__SC__) && !defined(__GNUWIN32__) && !defined(__MWERKS__)
     #include <sys/timeb.h>
 #endif
 
@@ -132,7 +124,7 @@ void wxTimer::Stop(void)
 // ----------------------------------------------------------------------------
 // private functions
 // ----------------------------------------------------------------------------
-static void wxProcessTimer(wxTimer& timer)
+void wxProcessTimer(wxTimer& timer)
 {
     // Avoid to process spurious timer events
     if ( timer.id == 0)