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:
@@ -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())
|
||||
|
Reference in New Issue
Block a user