From 5103243078ddd052dd7eacfd74aebde52085acef Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 5 Dec 2014 22:17:30 +0000 Subject: [PATCH] No real changes, just shorten log messages in the MDI sample. There is not enough space for the relatively long messages logged when menus are opened or closed (added in r78130), shorten them as much as possible while leaving them still readable. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/mdi/mdi.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/samples/mdi/mdi.h b/samples/mdi/mdi.h index 59612e2e6e..3e4e112ef5 100644 --- a/samples/mdi/mdi.h +++ b/samples/mdi/mdi.h @@ -56,12 +56,11 @@ protected: wxMenu* const menu = event.GetMenu(); if ( menu ) - what.Printf("Menu with title \"%s\"", menu->GetTitle()); + what.Printf("Menu \"%s\"", menu->GetTitle()); else what = "Unknown menu"; - wxLogMessage(m_frame, "%s was %s in the %s frame", - what, action, m_label); + wxLogMessage(m_frame, "%s %s in %s", what, action, m_label); } const wxString m_label;