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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user