]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/ctrlrend.cpp
reversed some parts of wxGetKeyState for linkage reasons...
[wxWidgets.git] / src / univ / ctrlrend.cpp
index a693d456571b6cb8b25b232ed7d7e637a69a447a..6a8be1ed6f7c948f0872f51fe767c60ddbca4b12 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ---------------------------------------------------------------------------
 
 // headers
 // ---------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "renderer.h"
 #endif
 
     #pragma implementation "renderer.h"
 #endif
 
@@ -545,7 +545,7 @@ void wxControlRenderer::DrawBitmap(wxDC &dc,
 }
 
 void wxControlRenderer::DrawScrollbar(const wxScrollBar *scrollbar,
 }
 
 void wxControlRenderer::DrawScrollbar(const wxScrollBar *scrollbar,
-                                      int thumbPosOld)
+                                      int WXUNUSED(thumbPosOld))
 {
     // we will only redraw the parts which must be redrawn and not everything
     wxRegion rgnUpdate = scrollbar->GetUpdateRegion();
 {
     // we will only redraw the parts which must be redrawn and not everything
     wxRegion rgnUpdate = scrollbar->GetUpdateRegion();
@@ -675,7 +675,11 @@ void wxControlRenderer::DrawItems(const wxListBox *lbox,
 
 void wxControlRenderer::DoDrawItems(const wxListBox *lbox,
                                     size_t itemFirst, size_t itemLast,
 
 void wxControlRenderer::DoDrawItems(const wxListBox *lbox,
                                     size_t itemFirst, size_t itemLast,
+#if wxUSE_CHECKLISTBOX
                                     bool isCheckLbox)
                                     bool isCheckLbox)
+#else
+                                    bool WXUNUSED(isCheckLbox))
+#endif
 {
     // prepare for the drawing: calc the initial position
     wxCoord lineHeight = lbox->GetLineHeight();
 {
     // prepare for the drawing: calc the initial position
     wxCoord lineHeight = lbox->GetLineHeight();