def OnComponentSortOrderDown(self, event):
    selection = self.componentSortOrderBox.Selection
    size = self.componentSortOrderBox.Count
    if ((selection != wx.NOT_FOUND) and (selection < (size - 1))):
        item = self.componentSortOrderBox.GetString(selection)
        self.componentSortOrderBox.Delete(selection)
        self.componentSortOrderBox.Insert(item, (selection + 1))
        self.componentSortOrderBox.SetSelection((selection + 1))
def OnComponentSortOrderDown(self, event):
    selection = self.componentSortOrderBox.Selection
    size = self.componentSortOrderBox.Count
    if ((selection != wx.NOT_FOUND) and (selection < (size - 1))):
        item = self.componentSortOrderBox.GetString(selection)
        self.componentSortOrderBox.Delete(selection)
        self.componentSortOrderBox.Insert(item, (selection + 1))
        self.componentSortOrderBox.SetSelection((selection + 1))