*/
QMenuBar * QLMenubar::menuBar() const
{
-#ifdef Q_OS_MACX
+#ifdef Q_WS_MACX
return mac_menubar_.get();
#else
return owner_->menuBar();
void QLMenubar::macxMenuBarInit()
{
-#ifdef Q_OS_MACX
+#ifdef Q_WS_MACX
mac_menubar_.reset(new QMenuBar);
// this is the name of the menu that contains our special entries
menubackend_.specialMenu("LyX");
// make sure that the special entries are added to the first
// menu even before this menu has been opened.
- name_map_[menubackend_.getMenubar().begin()->submenuname()]->update();
+ //name_map_[menubackend_.getMenubar().begin()->submenuname()]->update();
#endif
}