mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-08-09 14:46:06 -04:00
Fix message dialog.
This commit is contained in:
@@ -400,7 +400,7 @@ class viewNonTweet(widgetUtils.BaseDialog):
|
||||
self.text = wx.TextCtrl(parent=panel, id=-1, value=text, style=wx.TE_READONLY|wx.TE_MULTILINE, size=(250, 180))
|
||||
dc = wx.WindowDC(self.text)
|
||||
dc.SetFont(self.text.GetFont())
|
||||
(x, y, z) = dc.GetMultiLineTextExtent("0"*140)
|
||||
(x, y) = dc.GetMultiLineTextExtent("0"*140)
|
||||
self.text.SetSize((x, y))
|
||||
self.text.SetFocus()
|
||||
textBox = wx.BoxSizer(wx.HORIZONTAL)
|
||||
|
Reference in New Issue
Block a user