Remove test of always-true condition
This commit is contained in:
parent
1e753f97ba
commit
fb1a46b933
@ -376,7 +376,7 @@ wxGLAttributes& wxGLAttributes::Level(int val)
|
||||
AddAttribute(WGL_NUMBER_OVERLAYS_ARB);
|
||||
AddAttribute(val);
|
||||
}
|
||||
else if ( val < 0 )
|
||||
else
|
||||
{
|
||||
AddAttribute(WGL_NUMBER_UNDERLAYS_ARB);
|
||||
AddAttribute(-val);
|
||||
|
@ -2626,7 +2626,7 @@ bool wxWindowMac::OSXHandleKeyEvent( wxKeyEvent& event )
|
||||
// moved the ordinary key event sending AFTER the accel evaluation
|
||||
|
||||
#if wxUSE_ACCEL
|
||||
if ( !handled && event.GetEventType() == wxEVT_KEY_DOWN)
|
||||
if (event.GetEventType() == wxEVT_KEY_DOWN)
|
||||
{
|
||||
wxWindow *ancestor = this;
|
||||
while (ancestor)
|
||||
|
Loading…
Reference in New Issue
Block a user