Fix for old PUI versions
This commit is contained in:
parent
28f2779c4b
commit
8d8e9c3913
1 changed files with 8 additions and 0 deletions
|
@ -94,6 +94,14 @@ CanvasWidget::~CanvasWidget()
|
|||
false );
|
||||
}
|
||||
|
||||
// Old versions of PUI are missing this defines...
|
||||
#ifndef PU_SCROLL_UP_BUTTON
|
||||
# define PU_SCROLL_UP_BUTTON 3
|
||||
#endif
|
||||
#ifndef PU_SCROLL_DOWN_BUTTON
|
||||
# define PU_SCROLL_DOWN_BUTTON 4
|
||||
#endif
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
void CanvasWidget::doHit(int button, int updown, int x, int y)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue