vert textctrl scrolling starts to work after tons of fixes to wxTextCtrl and

wxScrolledWindow (to better respect target window rect)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-10-31 01:56:42 +00:00
parent f6c8b8f53d
commit 99eb9f350e
12 changed files with 145 additions and 42 deletions

View File

@@ -393,8 +393,10 @@ MyUnivFrame::MyUnivFrame(const wxString& title)
sizeText.x = 200;
text->SetSize(sizeText);
#else
wxTextCtrl *text = new wxTextCtrl(this, -1, _T("Hello,\nMultiverse!"),
wxPoint(10, 30), wxDefaultSize,
wxTextCtrl *text = new wxTextCtrl(this, -1, //_T("Hello,\nMultiverse!"),
"0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n",
wxPoint(10, 30),
wxSize(-1, 150),
wxTE_MULTILINE);
#endif
text->SetFocus();