X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e02be855d14263c996448bdb56c9e1002ad9b53..2e98aa124386e26c78ca725430c0b0c692db9fc2:/src/msw/menu.cpp diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 738d07c711..85d93d73a9 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -1133,6 +1133,7 @@ bool wxMenuBar::Insert(size_t pos, wxMenu *menu, const wxString& title) wxLogLastError(wxT("TB_INSERTBUTTON")); return false; } + wxUnusedVar(mswpos); #else if ( !::InsertMenu(GetHmenu(), mswpos, MF_BYPOSITION | MF_POPUP | MF_STRING,