]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/treectrl.cpp
Remove unnecessary IsRadioButton().
[wxWidgets.git] / src / os2 / treectrl.cpp
index 4b1c943dba7cacd0e228db1c67e36f6dee5d536c..6ccf144ddb437a93eac0d620e09075cf05081ece 100644 (file)
@@ -1591,7 +1591,7 @@ void wxTreeCtrl::Delete (
         delete (wxTreeItemAttr *)m_vAttrs.Delete((long)rItem.m_pItem);
     }
     vEvent.SetEventType(vEventType);
-    GetEventHandler()->ProcessEvent(vEvent);
+    HandleWindowEvent(vEvent);
 } // end of wxTreeCtrl::Delete
 
 // delete all children (but don't delete the item itself)
@@ -2058,7 +2058,7 @@ MRESULT wxTreeCtrl::OS2WindowProc (
                     break;
             }
             vEvent.SetEventType(vEventType);
-            bProcessed = GetEventHandler()->ProcessEvent(vEvent);
+            bProcessed = HandleWindowEvent(vEvent);
             break;
     }
     if (!bProcessed)