}
else
{
+#ifndef __WXWINCE__
// may be some versions of comctl32.dll do need it - anyhow, it won't
// do any harm
wstyle |= SBARS_SIZEGRIP;
+#endif
}
m_hWnd = (WXHWND)CreateStatusWindow(wstyle,
int len = StatusBar_GetTextLen(GetHwnd(), nField);
if ( len > 0 )
{
- StatusBar_GetText(GetHwnd(), nField, str.GetWriteBuf(len));
- str.UngetWriteBuf();
+ StatusBar_GetText(GetHwnd(), nField, wxStringBuffer(str, len));
}
return str;