style = SBT_NOBORDERS;
break;
+ case wxSB_SUNKEN:
case wxSB_NORMAL:
default:
style = 0;
// Set the status text in the native control passing both field number and style.
// NOTE: MSDN library doesn't mention that nField and style have to be 'ORed'
- if ( !StatusBar_SetText(GetHwnd(), nField | style, text.wx_str()) )
+ if ( !StatusBar_SetText(GetHwnd(), nField | style, text.t_str()) )
{
wxLogLastError("StatusBar_SetText");
}
case wxSB_FLAT:
style = SBT_NOBORDERS;
break;
+ case wxSB_SUNKEN:
case wxSB_NORMAL:
default:
style = 0;
// the fields' styles.
// NOTE: MSDN library doesn't mention that nField and style have to be 'ORed'
wxString text = GetStatusText(i);
- if (!StatusBar_SetText(GetHwnd(), style | i, text.wx_str()))
+ if (!StatusBar_SetText(GetHwnd(), style | i, text.t_str()))
{
wxLogLastError("StatusBar_SetText");
}