code: public void removeButton(Widget button) {
  
          if (m_isFrame) {
              if (m_buttonPanel != null) {
                  m_buttonPanel.remove(button);
              }
          } else {
              m_popup.removeButton(button);
          }
      }
docs: Removes the given button from the button bar.<p>
  
  @param button the button to remove