diff options
Diffstat (limited to 'NxWidgets/libnxwidgets/include/cnxwidget.hxx')
-rw-r--r-- | NxWidgets/libnxwidgets/include/cnxwidget.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/NxWidgets/libnxwidgets/include/cnxwidget.hxx b/NxWidgets/libnxwidgets/include/cnxwidget.hxx index a6982660b..f8c472e75 100644 --- a/NxWidgets/libnxwidgets/include/cnxwidget.hxx +++ b/NxWidgets/libnxwidgets/include/cnxwidget.hxx @@ -1215,7 +1215,7 @@ namespace NXWidgets * @return True if a collision occurred. */ - bool checkCollision(nxgl_coord_t x, nxgl_coord_t y) const; + virtual bool checkCollision(nxgl_coord_t x, nxgl_coord_t y) const; /** * Checks if the supplied rectangle definition collides with this widget. @@ -1227,8 +1227,8 @@ namespace NXWidgets * @return True if a collision occurred. */ - bool checkCollision(nxgl_coord_t x, nxgl_coord_t y, - nxgl_coord_t width, nxgl_coord_t height) const; + virtual bool checkCollision(nxgl_coord_t x, nxgl_coord_t y, + nxgl_coord_t width, nxgl_coord_t height) const; /** * Checks if the supplied widget collides with this widget. |