It appears the Mac thinks you have an ANSI keyboard when you actually have an Extended ISO keyboard. The layout you show as being active is the layout I see when I set my Mac Book Pro to Spanish ISO using the built-in ANSI keyboard. Probably you skipped Keyboard Setup when you installed Lion or you pressed the wrong buttons or something. In any case, it should be fixed by re-running Keyboard Setup.
- Choose Apple menu > System Preferences, and then click Keyboard.
- Click Change Keyboard Type.
- Follow the onscreen instructions when Keyboard Setup Assistant appears.
If the "Change Keyboard Type" button does not appear, then as a last resort you can try deleting the
/Library/Preferences/com.apple.keyboardtype.plist file. First, turn off your Bluetooth keyboard, then delete it from the Bluetooth preferences, then delete the file, then reboot, then re-pair your keyboard. This should automatically bring up the Keyboard Setup Assistant.
Since you have a Logitech Bluetooth keyboard other things to try would be
- Install, update, or re-install the Logitech drivers for the keyboard.
Note, however, that Logitech does not support your keyboard on the Mac.