* fix warnings in mediaplayer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38272 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b401b82842
commit
aae7a46913
@ -71,6 +71,12 @@ public:
|
||||
|
||||
virtual void ItemChanged(const PlaylistItem* item);
|
||||
|
||||
#if __GNUC__ == 2
|
||||
virtual void Draw(BView* owner, BRect frame, uint32 flags);
|
||||
#else
|
||||
using SimpleItem::Draw;
|
||||
#endif
|
||||
|
||||
private:
|
||||
PlaylistItemRef fItem;
|
||||
|
||||
@ -219,6 +225,17 @@ PlaylistListView::Item::ItemChanged(const PlaylistItem* item)
|
||||
}
|
||||
|
||||
|
||||
#if __GNUC__ == 2
|
||||
|
||||
void
|
||||
PlaylistListView::Item::Draw(BView* owner, BRect frame, uint32 flags)
|
||||
{
|
||||
SimpleItem::Draw(owner, frame, flags);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
// #pragma mark -
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user