Adds a ribbon element to the panel.
This function adds a ribbon element (which can be a button, combo box or any other element) to the panel.
Reimplemented in CBCGPRibbonMainPanel.