]> git.saurik.com Git - wxWidgets.git/commitdiff
Uses new wxMenu(long style) constructor.
authorKarsten Ballüder <ballueder@usa.net>
Thu, 17 Jun 1999 14:14:38 +0000 (14:14 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Thu, 17 Jun 1999 14:14:38 +0000 (14:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/minimal/minimal.cpp

index 945e2d8dc899bed17f4f7017aaffee2ad7eb973b..ebed2f206c1607dac3d40436079de72a4bc16425 100644 (file)
@@ -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();