projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4756503
)
don't log erroneous error messages when writing an empty string to a wxTE_RICH2 control
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Tue, 25 Feb 2003 16:48:50 +0000
(16:48 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Tue, 25 Feb 2003 16:48:50 +0000
(16:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19313
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/textctrl.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/textctrl.cpp
b/src/msw/textctrl.cpp
index 77ad90c6d3c3f62e038c0804cee295cd03ab4dfe..4ba1eafe20f2c5c87c5688b9f4c28f50e0dcfcd2 100644
(file)
--- a/
src/msw/textctrl.cpp
+++ b/
src/msw/textctrl.cpp
@@
-657,11
+657,13
@@
bool wxTextCtrl::StreamIn(const wxString& value,
m_suppressNextUpdate = TRUE;
}
- if ( !::SendMessage(GetHwnd(), EM_STREAMIN,
- SF_TEXT |
- SF_UNICODE |
- (selectionOnly ? SFF_SELECTION : 0),
- (LPARAM)&eds) || eds.dwError )
+ ::SendMessage(GetHwnd(), EM_STREAMIN,
+ SF_TEXT |
+ SF_UNICODE |
+ (selectionOnly ? SFF_SELECTION : 0),
+ (LPARAM)&eds);
+
+ if ( eds.dwError )
{
wxLogLastError(_T("EM_STREAMIN"));
}