]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/ctrlrend.cpp
Added files for wxNotebook and wxCocoaNSTabView
[wxWidgets.git] / src / univ / ctrlrend.cpp
index e7d9480a6bb48515e6cb1c557c5bd3b2a37b5ed9..6a8be1ed6f7c948f0872f51fe767c60ddbca4b12 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ---------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "renderer.h"
 #endif
 
@@ -675,7 +675,11 @@ void wxControlRenderer::DrawItems(const wxListBox *lbox,
 
 void wxControlRenderer::DoDrawItems(const wxListBox *lbox,
                                     size_t itemFirst, size_t itemLast,
+#if wxUSE_CHECKLISTBOX
                                     bool isCheckLbox)
+#else
+                                    bool WXUNUSED(isCheckLbox))
+#endif
 {
     // prepare for the drawing: calc the initial position
     wxCoord lineHeight = lbox->GetLineHeight();