Skip to content

Commit 60c76b5

Browse files
committed
more deprecation warnings
1 parent 1341da3 commit 60c76b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hexrd/wx/selecthkls.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ def __makeListCtrl(self):
119119
hklData = hkls[i]
120120
hkl = hklData['hkl']
121121
hklStr = '(%d, %d, %d)' % (hkl[0], hkl[1], hkl[2])
122-
index = listctrl.InsertStringItem(sys.maxint, hklStr)
122+
index = listctrl.InsertItem(sys.maxint, hklStr)
123123
dspace = '%.6g' % hklData['dSpacings']
124124
tth = hklData['tTheta'] * (180/math.pi)
125125
tTheta = '%.6g' % tth
126-
listctrl.SetStringItem(index, 1, dspace)
127-
listctrl.SetStringItem(index, 2, tTheta)
126+
listctrl.SetItem(index, 1, dspace)
127+
listctrl.SetItem(index, 2, tTheta)
128128
#
129129
# Show exclusions by background color
130130
#

0 commit comments

Comments
 (0)