minor changes here and there

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-07-02 22:04:57 +00:00
parent 41c3173dde
commit 2e18172773
4 changed files with 73 additions and 49 deletions

View File

@@ -544,6 +544,10 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event)
case WXK_F6:
SetValue("F6 was just pressed.");
break;
case WXK_F7:
ShowPosition(10);
break;
}
LogEvent( wxT("Key down"), event);
@@ -634,9 +638,12 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
m_enter->SetClientData((void *)_T("enter"));
m_textrich = new MyTextCtrl(this, -1, "Allows more than 30Kb of text\n"
"(even under broken Win9x)",
"(even under broken Win9x)\n"
"and a very very very very very "
"very very very long line to test"
"wxHSCROLL style",
wxPoint(450, 10), wxSize(200, 230),
wxTE_RICH | wxTE_MULTILINE);
wxTE_RICH | wxTE_MULTILINE | wxHSCROLL);
}
void MyPanel::OnSize( wxSizeEvent &event )