use wxLogTrace, not wxLogDebug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fea2b62e8e
commit
5a750e5a17
@ -1837,7 +1837,7 @@ int wxMenuBar::GetMenuFromPoint(const wxPoint& pos) const
|
||||
void wxMenuBar::SelectMenu(size_t pos)
|
||||
{
|
||||
SetFocus();
|
||||
wxLogDebug("Capturing mouse from wxMenuBar::SelectMenu");
|
||||
wxLogTrace(_T("mousecapture"), _T("Capturing mouse from wxMenuBar::SelectMenu"));
|
||||
CaptureMouse();
|
||||
|
||||
DoSelectMenu(pos);
|
||||
@ -1926,7 +1926,7 @@ void wxMenuBar::OnLeftDown(wxMouseEvent& event)
|
||||
}
|
||||
else // on item
|
||||
{
|
||||
wxLogDebug("Capturing mouse from wxMenuBar::OnLeftDown");
|
||||
wxLogTrace(_T("mousecapture"), _T("Capturing mouse from wxMenuBar::OnLeftDown"));
|
||||
CaptureMouse();
|
||||
|
||||
// show it as selected
|
||||
@ -2289,7 +2289,7 @@ void wxMenuBar::OnDismiss()
|
||||
{
|
||||
if ( GetCapture() )
|
||||
{
|
||||
wxLogDebug("Releasing mouse from wxMenuBar::OnDismiss");
|
||||
wxLogTrace(_T("mousecapture"), _T("Releasing mouse from wxMenuBar::OnDismiss"));
|
||||
GetCapture()->ReleaseMouse();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user