Added Python wrappers for wxRTTI for the wxVScrolledWindow,

wxVListBox, and wxHtmlListBox classes.

Removed the calls to wxClassInfo::Cleanup and Initialize.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-08-08 21:32:52 +00:00
parent 0c8392cac2
commit 3628e08886
42 changed files with 3464 additions and 411 deletions

View File

@@ -110,13 +110,25 @@ class TestPanel(wxPanel):
text = self.tc.GetValue()
if wxPlatform == "__WXMSW__": # This is why GetStringSelection was added
text = text.replace('\n', '\r\n')
self.log.write("GetSelection(): (%d, %d)\n"
self.log.write("multi-line GetSelection(): (%d, %d)\n"
"\tGetStringSelection(): %s\n"
"\tSelectedText: %s\n" %
(start, end,
self.tc.GetStringSelection(),
repr(text[start:end])))
start, end = self.tc1.GetSelection()
text = self.tc1.GetValue()
if wxPlatform == "__WXMSW__": # This is why GetStringSelection was added
text = text.replace('\n', '\r\n')
self.log.write("single-line GetSelection(): (%d, %d)\n"
"\tGetStringSelection(): %s\n"
"\tSelectedText: %s\n" %
(start, end,
self.tc1.GetStringSelection(),
repr(text[start:end])))
def OnT5LeftDown(self, evt):
evt.Skip()
wxCallAfter(self.LogT5Position, evt)