X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9739d9ee8090965862ba623b09a8fba731dc3d5c..f4cc15cd73753bccecfc845328be3caf955b0864:/src/msw/menu.cpp diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index dc9f5dfba6..7b85d29927 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -532,7 +532,7 @@ wxMenuBar::~wxMenuBar() void wxMenuBar::Refresh() { - wxCHECK_RET( IsAttached(), wxT("can't refresh unatteched menubar") ); + wxCHECK_RET( IsAttached(), wxT("can't refresh unattached menubar") ); DrawMenuBar(GetHwndOf(m_menuBarFrame)); } @@ -819,7 +819,7 @@ void wxMenuBar::RebuildAccelTable() void wxMenuBar::Attach(wxFrame *frame) { - wxASSERT_MSG( !IsAttached(), wxT("menubar already attached!") ); +// wxASSERT_MSG( !IsAttached(), wxT("menubar already attached!") ); m_menuBarFrame = frame;