+/*
+ if ((m_style & wxMB_TEAROFF) || (menu->GetStyle() & wxMENU_TEAROFF))
+ {
+ entry.item_type = "<Tearoff>";
+ tmp.Remove( 0, 6 );
+ tmp.Append( _T("/tearoff") );
+ strcpy( buf, tmp.mb_str() );
+ gtk_item_factory_create_item( m_factory, &entry, (gpointer) this, 2 );
+ }
+*/