Don't use string module

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-01-29 03:19:23 +00:00
parent 9d9015cbdb
commit 7e56135a5a

View File

@@ -42,7 +42,7 @@
getting mucked up; when the user quits, we get errors about being
unable to call del on a 'None' object.
"""
import string, cPickle, os.path
import cPickle, os.path
from wxPython.wx import *
import traceback, types
@@ -2454,7 +2454,7 @@ class EditTextObjectDialog(wxDialog):
"""
obj.setText(self.textCtrl.GetValue())
obj.setTextFont(self.fontCombo.GetValue())
obj.setTextSize(string.atoi(self.sizeCombo.GetValue()))
obj.setTextSize(int(self.sizeCombo.GetValue()))
obj.setTextBoldface(self.boldCheckbox.GetValue())
obj.setTextItalic(self.italicCheckbox.GetValue())
obj.setTextUnderline(self.underlineCheckbox.GetValue())