if( !isIcon )
{
wxASSERT_MSG( wxDynamicCast(&bitmap, wxBitmap),
- _T("not an icon and not a bitmap?") );
+ wxT("not an icon and not a bitmap?") );
const wxBitmap& bmp = (const wxBitmap&)bitmap;
wxMask *mask = bmp.GetMask();
m_isIcon = image->IsKindOf( CLASSINFO(wxIcon) );
// create the native control
- if ( !MSWCreateControl(_T("STATIC"), wxEmptyString, pos, size) )
+ if ( !MSWCreateControl(wxT("STATIC"), wxEmptyString, pos, size) )
{
// control creation failed
return false;
wxIcon wxStaticBitmap::GetIcon() const
{
- wxCHECK_MSG( m_image, wxIcon(), _T("no image in wxStaticBitmap") );
+ wxCHECK_MSG( m_image, wxIcon(), wxT("no image in wxStaticBitmap") );
// we can't ask for an icon if all we have is a bitmap
- wxCHECK_MSG( m_isIcon, wxIcon(), _T("no icon in this wxStaticBitmap") );
+ wxCHECK_MSG( m_isIcon, wxIcon(), wxT("no icon in this wxStaticBitmap") );
return *(wxIcon *)m_image;
}
}
else // we have a bitmap
{
- wxCHECK_MSG( m_image, wxBitmap(), _T("no image in wxStaticBitmap") );
+ wxCHECK_MSG( m_image, wxBitmap(), wxT("no image in wxStaticBitmap") );
return *(wxBitmap *)m_image;
}