Final part of Object renaming

This commit is contained in:
markm 2006-04-25 20:46:03 +00:00
parent 0139ecf371
commit a3d9ef9081

@ -139,13 +139,14 @@ class WindowSpecification(object):
#write_appdata(self.criteria, ctrls) #write_appdata(self.criteria, ctrls)
return ctrls[-1] return ctrls[-1]
def ctrl_(self): def ctrl_(self):
"Allow the calling code to get the HwndWrapper object" "Allow the calling code to get the HwndWrapper object"
message = "ctrl_() has been renamed to ControlObject() please use " \ message = "ctrl_() has been renamed to ControlObject() please use " \
"that method in the future. ctrl_() will be removed at some " \ "that method in the future. ctrl_() will be removed at some " \
"future time." "future time."
warnings.warn(message, DeprecationWarning) warnings.warn(message, DeprecationWarning)
return self.ControlObject() return self.WrapperObject()
def Window_(self, **criteria): def Window_(self, **criteria):
"Add the criteria that will be matched when we resolve the control" "Add the criteria that will be matched when we resolve the control"