def Refresh(self):

		maxTextLength = 0
		yCount = ime.GetCandidateCount()

		for i in xrange(yCount):
			text, length = ime.GetCandidate(i)
			self.Append(text)

			if length > maxTextLength:
				maxTextLength = length

		if maxTextLength > 0:
			self.SetCharacterCount(maxTextLength, yCount)

		self.candidateListBox.SelectIndex(ime.GetCandidateSelection())
	def Refresh(self):
		for i in xrange(9):
			text, length = ime.GetCandidate(i)
			self.Append(text)

		self.candidateListBox.SelectIndex(ime.GetCandidateSelection())