projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c27795
)
quiet annoying GCC warnings
author
Ryan Norton
<wxprojects@comcast.net>
Fri, 24 Sep 2004 22:27:55 +0000
(22:27 +0000)
committer
Ryan Norton
<wxprojects@comcast.net>
Fri, 24 Sep 2004 22:27:55 +0000
(22:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29328
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
samples/text/text.cpp
patch
|
blob
|
blame
|
history
diff --git
a/samples/text/text.cpp
b/samples/text/text.cpp
index 7c2431edf14d663a46b8902222c89ea33ff8d668..00dc5b991cae4b69256ebcd11cb863de94e6b6ac 100644
(file)
--- a/
samples/text/text.cpp
+++ b/
samples/text/text.cpp
@@
-772,7
+772,7
@@
void MyTextCtrl::OnKeyDown(wxKeyEvent& event)
line, column,
(long) GetNumberOfLines(),
(long) GetLineLength(line),
- GetValue().length(),
+
(unsigned int)
GetValue().length(),
GetLastPosition());
long from, to;
@@
-782,7
+782,8
@@
void MyTextCtrl::OnKeyDown(wxKeyEvent& event)
wxLogMessage(_T("Selection: from %ld to %ld."), from, to);
wxLogMessage(_T("Selection = '%s' (len = %u)"),
- sel.c_str(), sel.length());
+ sel.c_str(),
+ (unsigned int) sel.length());
}
break;