]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/menu/menu.cpp
Using the best visual is now an option.
[wxWidgets.git] / samples / menu / menu.cpp
index 26cb1baeac73284ebd759a19b69c7018e5f14480..1b098b2f399904633e4b2234e84b43b1d2ca2ad0 100644 (file)
@@ -460,6 +460,8 @@ void MyFrame::OnCheckMenuItem(wxCommandEvent& WXUNUSED(event))
 
 void MyFrame::OnUpdateCheckMenuItemUI(wxUpdateUIEvent& event)
 {
+    wxLogNull nolog;
+
     wxMenuItem *item = GetLastMenuItem();
 
     event.Enable(item && item->IsCheckable());