]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
no changes
[wxWidgets.git] / src / generic / treectlg.cpp
index 986c96f5b416fd98eb8a7ba4e1e11a2f0acf6c05..6354c38bfe827335b3f922aed0c523df17dbafce 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // -----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
   #pragma implementation "treectlg.h"
 #endif
 
@@ -2317,8 +2317,8 @@ void wxGenericTreeCtrl::PaintLevel( wxGenericTreeItem *item, wxDC &dc, int level
             }
             else // no custom buttons
             {
-                static const int wImage = 10;
-                static const int hImage = 12;
+                static const int wImage = 9;
+                static const int hImage = 9;
 
                 wxRendererNative::Get().DrawTreeItemButton
                                         (