mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-23 03:38:08 -06:00
Removed calls to SetMaxLength in dialogs
This commit is contained in:
parent
eea059b905
commit
b3bf0ab8e6
@ -25,7 +25,6 @@ class tweet(wx.Dialog):
|
|||||||
self.text = wx.TextCtrl(panel, wx.ID_ANY, "", style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER)
|
self.text = wx.TextCtrl(panel, wx.ID_ANY, "", style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER)
|
||||||
self.Bind(wx.EVT_CHAR_HOOK, self.handle_keys, self.text)
|
self.Bind(wx.EVT_CHAR_HOOK, self.handle_keys, self.text)
|
||||||
self.text.SetMinSize((1000, 158))
|
self.text.SetMinSize((1000, 158))
|
||||||
self.text.SetMaxLength(max_length)
|
|
||||||
text_sizer.Add(self.text, 1, wx.EXPAND, 0)
|
text_sizer.Add(self.text, 1, wx.EXPAND, 0)
|
||||||
list_sizer = wx.BoxSizer(wx.HORIZONTAL)
|
list_sizer = wx.BoxSizer(wx.HORIZONTAL)
|
||||||
mainBox.Add(list_sizer, 1, wx.EXPAND, 0)
|
mainBox.Add(list_sizer, 1, wx.EXPAND, 0)
|
||||||
@ -163,7 +162,6 @@ class reply(tweet):
|
|||||||
self.text = wx.TextCtrl(panel, wx.ID_ANY, "", style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER)
|
self.text = wx.TextCtrl(panel, wx.ID_ANY, "", style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER)
|
||||||
self.Bind(wx.EVT_CHAR_HOOK, self.handle_keys, self.text)
|
self.Bind(wx.EVT_CHAR_HOOK, self.handle_keys, self.text)
|
||||||
self.text.SetMinSize((1000, 158))
|
self.text.SetMinSize((1000, 158))
|
||||||
self.text.SetMaxLength(max_length)
|
|
||||||
text_sizer.Add(self.text, 1, wx.EXPAND, 0)
|
text_sizer.Add(self.text, 1, wx.EXPAND, 0)
|
||||||
list_sizer = wx.BoxSizer(wx.HORIZONTAL)
|
list_sizer = wx.BoxSizer(wx.HORIZONTAL)
|
||||||
mainBox.Add(list_sizer, 1, wx.EXPAND, 0)
|
mainBox.Add(list_sizer, 1, wx.EXPAND, 0)
|
||||||
@ -248,7 +246,6 @@ class dm(tweet):
|
|||||||
self.text = wx.TextCtrl(panel, wx.ID_ANY, "", style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER)
|
self.text = wx.TextCtrl(panel, wx.ID_ANY, "", style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER)
|
||||||
self.Bind(wx.EVT_CHAR_HOOK, self.handle_keys, self.text)
|
self.Bind(wx.EVT_CHAR_HOOK, self.handle_keys, self.text)
|
||||||
self.text.SetMinSize((1000, 158))
|
self.text.SetMinSize((1000, 158))
|
||||||
self.text.SetMaxLength(max_length)
|
|
||||||
self.text.SetFocus()
|
self.text.SetFocus()
|
||||||
text_sizer.Add(self.text, 1, wx.EXPAND, 0)
|
text_sizer.Add(self.text, 1, wx.EXPAND, 0)
|
||||||
list_sizer = wx.BoxSizer(wx.HORIZONTAL)
|
list_sizer = wx.BoxSizer(wx.HORIZONTAL)
|
||||||
|
Loading…
Reference in New Issue
Block a user