Fixed warning about hiding BView::Perform().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37733 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2010-07-25 08:52:20 +00:00
parent 14d604ddfa
commit ad98c7f4af
2 changed files with 14 additions and 0 deletions

View File

@ -314,6 +314,17 @@ StateView::KeyUp(const char* bytes, int32 numBytes)
BView::KeyUp(bytes, numBytes);
}
// #pragma mark -
status_t
StateView::Perform(perform_code code, void* data)
{
return BView::Perform(code, data);
}
// #pragma mark -
// SetState

View File

@ -38,6 +38,9 @@ class StateView : public BView {
virtual void KeyDown(const char* bytes, int32 numBytes);
virtual void KeyUp(const char* bytes, int32 numBytes);
virtual status_t Perform(perform_code code, void* data);
// Avoids warning about hiding BView::Perform().
// StateView interface
void SetState(ViewState* state);
void UpdateStateCursor();