X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3839f37ed32f788ffe3237a616ef60e93a017e4e..6926b9c403f8d1917af007042a333b2a04d8b35c:/include/wx/msw/menu.h diff --git a/include/wx/msw/menu.h b/include/wx/msw/menu.h index 9fff22c1fa..953c23f71c 100644 --- a/include/wx/msw/menu.h +++ b/include/wx/msw/menu.h @@ -165,7 +165,7 @@ public: // unused under MSW wxMenuBar(long style); // menubar takes ownership of the menus arrays but copies the titles - wxMenuBar(int n, wxMenu *menus[], const wxString titles[]); + wxMenuBar(size_t n, wxMenu *menus[], const wxString titles[], long style = 0); virtual ~wxMenuBar(); // menubar construction @@ -201,7 +201,7 @@ public: // get the accel table for all the menus const wxAcceleratorTable& GetAccelTable() const { return m_accelTable; } - // update the accel table (must be called after adding/deletign a menu) + // update the accel table (must be called after adding/deleting a menu) void RebuildAccelTable(); #endif // wxUSE_ACCEL