// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "univmenuitem.h"
#pragma implementation "univmenu.h"
#endif
// set the current node and item withotu refreshing anything
void SetCurrent(wxMenuItemList::compatibility_iterator node);
+ virtual bool SetCurrent(bool doit = true){return wxPopupTransientWindow::SetCurrent(doit);};
// change the current item refreshing the old and new items
void ChangeCurrent(wxMenuItemList::compatibility_iterator node);
#if wxUSE_STL
SetCurrent(wxMenuItemList::compatibility_iterator());
#else
- SetCurrent(NULL);
+ SetCurrent((wxwxMenuItemListNode *)NULL);
#endif
}
bool wxMenu::DoAppend(wxMenuItem *item)
{
+ #if 0
+ // not used at all
bool check = FALSE;
+ #endif
if ( item->GetKind() == wxITEM_RADIO )
{
item->SetRadioGroupEnd(m_startRadioGroup);
// ensure that we have a checked item in the radio group
+ #if 0
+ // not used at all
check = TRUE;
+ #endif
}
else // extend the current radio group
{