Let RDFBase handle deleting the pane.

This commit is contained in:
slamm%netscape.com 1998-09-03 21:43:47 +00:00
Родитель e60426e280
Коммит d889d8e537
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -89,8 +89,6 @@ XFE_RDFMenuToolbarBase::XFE_RDFMenuToolbarBase( XFE_Frame * frame,
/* virtual */ /* virtual */
XFE_RDFMenuToolbarBase::~XFE_RDFMenuToolbarBase() XFE_RDFMenuToolbarBase::~XFE_RDFMenuToolbarBase()
{ {
HT_DeletePane(_ht_pane);
XFE_MozillaApp::theApp()->unregisterInterest( XFE_MozillaApp::theApp()->unregisterInterest(
XFE_MozillaApp::updateToolbarAppearance, XFE_MozillaApp::updateToolbarAppearance,
this, this,
@ -1811,6 +1809,7 @@ XFE_RDFMenuToolbarBase::setItemLabelString(Widget item,HT_Resource entry)
void void
XFE_RDFMenuToolbarBase::notify(HT_Resource n, HT_Event whatHappened) XFE_RDFMenuToolbarBase::notify(HT_Resource n, HT_Event whatHappened)
{ {
D(debugEvent(n, whatHappened,"MTB"););
switch (whatHappened) { switch (whatHappened) {
case HT_EVENT_VIEW_SELECTED: case HT_EVENT_VIEW_SELECTED:
_ht_view = HT_GetSelectedView(_ht_pane); _ht_view = HT_GetSelectedView(_ht_pane);