+ EVT_LISTBOX(self, self.lb1.GetId(), self.OnSelect)
+
+ self.txt = wxStaticText(self, -1, "Sample text...", (285, 50))
+
+ row = wxBoxSizer(wxHORIZONTAL)
+ row.Add(s1, 0, wxALL, 5)
+ row.Add(self.lb1, 0, wxALL, 5)
+ row.Add(self.txt, 0, wxALL|wxADJUST_MINSIZE, 5)
+
+ sizer = wxBoxSizer(wxVERTICAL)
+ sizer.Add(row, 0, wxALL, 30)
+ self.SetSizer(sizer)
+ self.Layout()
+