1
0
Fork 0

Fix for old PUI versions

This commit is contained in:
Thomas Geymayer 2012-12-02 15:47:21 +01:00
parent 28f2779c4b
commit 8d8e9c3913

View file

@ -94,6 +94,14 @@ CanvasWidget::~CanvasWidget()
false ); 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) void CanvasWidget::doHit(int button, int updown, int x, int y)
{ {