]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/treegtk.cpp
fixed warnings about pointer to integer cast
[wxWidgets.git] / src / gtk / treegtk.cpp
index 8c2dd7b4a408e494313354f6229a5018a309c5aa..bd5d97f1c14f8da5258c27ca8123b4c28282856d 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "treectrl.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -496,7 +492,7 @@ printf("begin insert\n");
   const wxBitmap *bmp;
   const wxImageList *list;
   if ((list = GetImageList(wxIMAGE_LIST_NORMAL)) != NULL)
-    if ((bmp = list->GetBitmap(image)) != NULL)
+    if ((bmp = list->GetBitmapPtr(image)) != NULL)
       if (bmp->Ok()) {
         GdkBitmap *mask = NULL;
         if (bmp->GetMask())