// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "framebase.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
if (!item->IsEnabled())
return true;
+ if ((item->GetKind() == wxITEM_RADIO) && item->IsChecked() )
+ return true;
+
if (item->IsCheckable())
{
item->Toggle();
}
#endif // wxUSE_MENUS
-
-#if WXWIN_COMPATIBILITY_2_2
-
-bool wxFrameBase::Command(int winid)
-{
- return ProcessCommand(winid);
-}
-
-#endif // WXWIN_COMPATIBILITY_2_2