X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e528b997e87057723d1b823dd86e3f69ebb672b..d45d30c8682f858321600e2958167d7ef54ebeb5:/include/wx/menu.h diff --git a/include/wx/menu.h b/include/wx/menu.h index 83576de1cf..8b9bccd5b8 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -175,12 +175,12 @@ public: { return FindItem(itemId, itemMenu); } wxList& GetItems() const { return (wxList &)m_items; } +#endif // WXWIN_COMPATIBILITY // wxWin 1.6x compatible menu event handling wxFunction GetCallback() const { return m_callback; } void Callback(const wxFunction func) { m_callback = func; } wxFunction m_callback; -#endif // WXWIN_COMPATIBILITY // unlike FindItem(), this function doesn't recurse but only looks through // our direct children and also may return the index of the found child if