]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/timercmn.cpp
fix for always terminating intermediate UniChar String for 4 bytes wchar_t
[wxWidgets.git] / src / common / timercmn.cpp
index 7371b1ffbf22384217c2e5bd0162fddd4442b8fd..ffcf0358a91f390f18a6624592d9cc31dcb27dca 100644 (file)
@@ -18,7 +18,7 @@
 // wxWin headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "timerbase.h"
 #endif
 
@@ -32,6 +32,7 @@
 #if wxUSE_TIMER
 
 #ifndef WX_PRECOMP
+    #include "wx/timer.h"
 #endif
 
 // ----------------------------------------------------------------------------