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
This commit is contained in:
Vadim Zeitlin
2014-12-05 22:17:30 +00:00
parent 33fe4b1837
commit 5103243078

View File

@@ -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;