mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: MenuBar fixed to compile
git-svn-id: svn://ultimatepp.org/upp/trunk@12675 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
864c4bdfa1
commit
86a73c49d3
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue