]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/scrthumb.cpp
support metal appearance
[wxWidgets.git] / src / univ / scrthumb.cpp
index 2313de7a1a1b9f9d7425a8c9d4a9220c9d480d36..9e8b41106220888b62af64148a3560e787f3050f 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univscrthumb.h"
 #endif
 
@@ -29,6 +29,7 @@
 
 #ifndef WX_PRECOMP
     #include "wx/window.h"
+    #include "wx/renderer.h"
 #endif // WX_PRECOMP
 
 #include "wx/univ/scrtimer.h"