X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/631f1bfed5d2df0215035207355d838328237578..031bc97f4629f95d445f9716a9d4d61665a19dc9:/src/motif/menu.cpp diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index 959d442bb9..b940cce133 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -508,6 +508,19 @@ wxMenuBar::wxMenuBar() m_font = wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT); } +wxMenuBar::wxMenuBar(long WXUNUSED(style)) +{ + m_eventHandler = this; + m_menuCount = 0; + m_menus = NULL; + m_titles = NULL; + m_menuBarFrame = NULL; + m_mainWidget = (WXWidget) NULL; + m_backgroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_MENU); + m_foregroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_MENUTEXT); + m_font = wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT); +} + wxMenuBar::wxMenuBar(int n, wxMenu *menus[], const wxString titles[]) { m_eventHandler = this;