+ sizer.Add(wxStaticText(self, -1, " \nDrag some text here:"),
+ 0, wxEXPAND|wxALL, 2)
+ self.text2 = wxTextCtrl(self, -1, "",
+ style = wxTE_MULTILINE|wxHSCROLL|wxTE_READONLY)
+ dt = MyTextDropTarget(self.text2, log)
+ self.text2.SetDropTarget(dt)
+ sizer.Add(self.text2, 1, wxEXPAND)
+