Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-12-08 17:12:53 +00:00
parent 82ce8b17f7
commit c193de847b
5 changed files with 14 additions and 12 deletions

View File

@@ -339,7 +339,7 @@ void Edit::OnMarginClick (wxStyledTextEvent &event) {
}
void Edit::OnCharAdded (wxStyledTextEvent &event) {
char chr = event.GetKey();
char chr = (char)event.GetKey();
int currentLine = GetCurrentLine();
// Change this if support for mac files with \r is needed
if (chr == '\n') {