X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e90c1d2a19361551eb07778280f22be3e759cf64..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/generic/imaglist.cpp diff --git a/src/generic/imaglist.cpp b/src/generic/imaglist.cpp index 686fd59f36..8011b2b648 100644 --- a/src/generic/imaglist.cpp +++ b/src/generic/imaglist.cpp @@ -62,7 +62,7 @@ const wxBitmap *wxImageList::GetBitmap( int index ) const { wxNode *node = m_images.Nth( index ); - wxCHECK_MSG( node, (wxBitmap *) NULL, T("wrong index in image list") ); + wxCHECK_MSG( node, (wxBitmap *) NULL, wxT("wrong index in image list") ); return (wxBitmap*)node->Data(); } @@ -71,7 +71,7 @@ bool wxImageList::Replace( int index, const wxBitmap &bitmap ) { wxNode *node = m_images.Nth( index ); - wxCHECK_MSG( node, FALSE, T("wrong index in image list") ); + wxCHECK_MSG( node, FALSE, wxT("wrong index in image list") ); wxBitmap* newBitmap = NULL; if (bitmap.IsKindOf(CLASSINFO(wxIcon))) @@ -98,7 +98,7 @@ bool wxImageList::Remove( int index ) { wxNode *node = m_images.Nth( index ); - wxCHECK_MSG( node, FALSE, T("wrong index in image list") ); + wxCHECK_MSG( node, FALSE, wxT("wrong index in image list") ); m_images.DeleteNode( node ); @@ -119,7 +119,7 @@ bool wxImageList::GetSize( int index, int &width, int &height ) const wxNode *node = m_images.Nth( index ); - wxCHECK_MSG( node, FALSE, T("wrong index in image list") ); + wxCHECK_MSG( node, FALSE, wxT("wrong index in image list") ); wxBitmap *bm = (wxBitmap*)node->Data(); width = bm->GetWidth(); @@ -133,7 +133,7 @@ bool wxImageList::Draw( int index, wxDC &dc, int x, int y, { wxNode *node = m_images.Nth( index ); - wxCHECK_MSG( node, FALSE, T("wrong index in image list") ); + wxCHECK_MSG( node, FALSE, wxT("wrong index in image list") ); wxBitmap *bm = (wxBitmap*)node->Data();