CtrlLib: MenuBar fixed to compile

git-svn-id: svn://ultimatepp.org/upp/trunk@12675 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-01-17 11:55:23 +00:00
parent 864c4bdfa1
commit 86a73c49d3

View file

@ -177,8 +177,10 @@ Bar::Item& MenuBar::AddSubMenu(Event<Bar&> proc)
void MenuBar::Separator()
{
#ifdef PLATFORM_COCOA
if(host_bar && !IsChild())
return host_bar->Separator();
#endif
BarCtrl::Separator();
}