git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10980
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
SetName(name);
m_windowStyle = style;
{
SetName(name);
m_windowStyle = style;
-#if wxUSE_MENUS
- m_frameMenuBar = NULL;
-#endif // wxUSE_MENUS
-#if wxUSE_TOOLBAR
- m_frameToolBar = NULL;
-#endif // wxUSE_TOOLBAR
-#if wxUSE_STATUSBAR
- m_frameStatusBar = NULL;
-#endif // wxUSE_STATUSBAR
SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_APPWORKSPACE));
SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_APPWORKSPACE));
void wxFrameMSW::AttachMenuBar(wxMenuBar *menubar)
{
void wxFrameMSW::AttachMenuBar(wxMenuBar *menubar)
{
+ m_frameMenuBar = menubar;
+
if ( !menubar )
{
// actually remove the menu from the frame
if ( !menubar )
{
// actually remove the menu from the frame