#ifndef _WX_UNIV_MENU_H_
#define _WX_UNIV_MENU_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "univmenu.h"
-#endif
-
#if wxUSE_ACCEL
#include "wx/accel.h"
#endif // wxUSE_ACCEL
public:
// ctors and dtor
wxMenuBar(long WXUNUSED(style) = 0) { Init(); }
- wxMenuBar(size_t n, wxMenu *menus[], const wxString titles[], long style = 0)
+ wxMenuBar(size_t n, wxMenu *menus[], const wxString titles[], long style = 0);
virtual ~wxMenuBar();
// implement base class virtuals
// we don't want to have focus except while selecting from menu
void GiveAwayFocus();
+ // Release the mouse capture if we have it
+ bool ReleaseMouseCapture();
+
// the array containing extra menu info we need
wxMenuInfoArray m_menuInfos;