]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/regtest/regtest.cpp
wxToggleButton on wxMac has these methods now
[wxWidgets.git] / samples / regtest / regtest.cpp
index 76845feb09506282befaac326e0fd75064307434..d584c7b05ab0389fb092924ae208ff8dd210897b 100644 (file)
@@ -156,7 +156,7 @@ private:
     wxString     m_nameOld;           // the initial value of item being renamed
 
     TreeNode *GetNode(const wxTreeEvent& event)
-        { return (TreeNode *)GetItemData((WXHTREEITEM)event.GetItem()); }
+        { return (TreeNode *)GetItemData(event.GetItem()); }
 
 public:
     // create a new node and insert it to the tree