]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/treegtk.cpp
Link against import libraries of DLLs when building DLLs.
[wxWidgets.git] / src / gtk / treegtk.cpp
index 0b0799b56ba738279776eb5e060cb247ef8637b3..8c2dd7b4a408e494313354f6229a5018a309c5aa 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "treectrl.h"
 #endif
 
@@ -315,7 +315,7 @@ wxTreeItemId wxTreeCtrl::GetSelection() const {
   return p;
 }
 
-wxTreeItemId wxTreeCtrl::GetParent(const wxTreeItemId& item) const {
+wxTreeItemId wxTreeCtrl::GetItemParent(const wxTreeItemId& item) const {
   if (item.IsOk())
     return (GtkTreeItem *)gtk_object_get_data(GTK_OBJECT((GtkTreeItem *)item), "parent");