3ebfa6e605
- switch to new depends looks ok to sthen, tested by many on ports@
14 lines
449 B
Plaintext
14 lines
449 B
Plaintext
$OpenBSD: patch-src_widgets_menu_hpp,v 1.2 2010/10/12 20:33:18 jasper Exp $
|
|
--- src/widgets/menu.hpp.orig Thu Apr 8 11:06:31 2010
|
|
+++ src/widgets/menu.hpp Thu Apr 8 11:06:51 2010
|
|
@@ -186,6 +186,9 @@ class menu : public scrollarea (public)
|
|
void set_max_height(const int new_max_height);
|
|
void set_max_width(const int new_max_width);
|
|
|
|
+ #ifdef nitems
|
|
+ #undef nitems
|
|
+ #endif
|
|
size_t nitems() const { return items_.size(); }
|
|
|
|
int process();
|