wxUniv compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2038,7 +2038,7 @@ void wxMenuBar::OnKeyDown(wxKeyEvent& event)
|
||||
}
|
||||
else // right
|
||||
{
|
||||
if ( ++currentNew == (int)count )
|
||||
if ( ++currentNew == count )
|
||||
currentNew = 0;
|
||||
}
|
||||
|
||||
@@ -2263,7 +2263,7 @@ void wxMenuBar::OnDismissMenu(bool dismissMenuBar)
|
||||
|
||||
void wxMenuBar::OnDismiss()
|
||||
{
|
||||
ReleaseCapture();
|
||||
ReleaseMouse();
|
||||
|
||||
if ( m_current != -1 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user