]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/renderer.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / univ / renderer.h
index 6836f10f970c7e446219e7cb7b492f0e8e5c8edb..390338dafd49b00bec1db0d5b62f46dda89284db 100644 (file)
@@ -25,7 +25,7 @@
    implementation of the latter or reimplement itself).
  */
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "renderer.h"
 #endif
 
@@ -671,7 +671,7 @@ public:
                                  wxOrientation orient,
                                  int start,
                                  int end,
-                                 int step = 1,
+                                 int WXUNUSED(step) = 1,
                                  int flags = 0,
                                  long style = 0)
         { m_renderer->DrawSliderTicks(dc, rect, lenThumb, orient,