Remove redundant tests for __WIN32__ in wxMSW code.
This is always defined, Win16 is not supported since ages and Win64 defines both __WIN32__ and __WIN64__.
This commit is contained in:
@@ -615,7 +615,6 @@ void wxMenuItem::Check(bool check)
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef __WIN32__
|
||||
// calling CheckMenuRadioItem() with such parameters hangs my system
|
||||
// (NT4 SP6) and I suspect this could happen to the others as well,
|
||||
// so don't do it!
|
||||
@@ -630,7 +629,6 @@ void wxMenuItem::Check(bool check)
|
||||
{
|
||||
wxLogLastError(wxT("CheckMenuRadioItem"));
|
||||
}
|
||||
#endif // __WIN32__
|
||||
|
||||
// also uncheck all the other items in this radio group
|
||||
wxMenuItemList::compatibility_iterator node = items.Item(start);
|
||||
|
||||
Reference in New Issue
Block a user