git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19313
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_suppressNextUpdate = TRUE;
}
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"));
}
{
wxLogLastError(_T("EM_STREAMIN"));
}