From: Karsten Ballüder Date: Thu, 17 Jun 1999 14:14:38 +0000 (+0000) Subject: Uses new wxMenu(long style) constructor. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a362e3aa309e3e68ac9b625fe4d63081c9454c42 Uses new wxMenu(long style) constructor. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/minimal/minimal.cpp b/samples/minimal/minimal.cpp index 945e2d8dc8..ebed2f206c 100644 --- a/samples/minimal/minimal.cpp +++ b/samples/minimal/minimal.cpp @@ -149,7 +149,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) SetIcon(wxICON(mondrian)); // create a menu bar - wxMenu *menuFile = new wxMenu("File",NULL,wxMENU_TEAROFF); + wxMenu *menuFile = new wxMenu(wxMENU_TEAROFF); menuFile->Append(Minimal_About, "&About...\tCtrl-A", "Show about dialog"); menuFile->AppendSeparator();