mozilla/widget/src/xpwidgets/nsBaseWidget.h
This commit is contained in:
Родитель
8fe71b9df3
Коммит
cdd22b1986
|
@ -78,7 +78,7 @@ nsBaseWidget::nsBaseWidget() :
|
|||
mAppShell = nsnull;
|
||||
mMouseListener = nsnull;
|
||||
mEventListener = nsnull;
|
||||
/*mMenuListener = nsnull;*/
|
||||
mMenuListener = nsnull;
|
||||
mClientData = nsnull;
|
||||
mContext = nsnull;
|
||||
mCursor = eCursor_standard;
|
||||
|
@ -601,14 +601,14 @@ NS_METHOD nsBaseWidget::AddEventListener(nsIEventListener * aListener)
|
|||
* Processes a menu event
|
||||
*
|
||||
**/
|
||||
/*
|
||||
|
||||
NS_METHOD nsBaseWidget::AddMenuListener(nsIMenuListener * aListener)
|
||||
{
|
||||
NS_PRECONDITION(mMenuListener == nsnull, "Null menu listener");
|
||||
mMenuListener = aListener;
|
||||
return NS_OK;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* If the implementation of nsWindow supports borders this method MUST be overridden
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include "nsIEnumerator.h"
|
||||
#include "nsIMouseListener.h"
|
||||
#include "nsIEventListener.h"
|
||||
/*#include "nsIMenuListener.h"*/
|
||||
#include "nsIMenuListener.h"
|
||||
#include "nsIToolkit.h"
|
||||
#include "nsStringUtil.h"
|
||||
#include "nsString.h"
|
||||
|
@ -79,7 +79,7 @@ public:
|
|||
NS_IMETHOD UpdateTooltips(nsRect* aNewTips[]);
|
||||
NS_IMETHOD AddMouseListener(nsIMouseListener * aListener);
|
||||
NS_IMETHOD AddEventListener(nsIEventListener * aListener);
|
||||
/* NS_IMETHOD AddMenuListener(nsIMenuListener * aListener);*/
|
||||
NS_IMETHOD AddMenuListener(nsIMenuListener * aListener);
|
||||
NS_IMETHOD SetBounds(const nsRect &aRect);
|
||||
NS_IMETHOD GetBounds(nsRect &aRect);
|
||||
NS_IMETHOD GetBoundsAppUnits(nsRect &aRect, float aAppUnits);
|
||||
|
@ -110,7 +110,7 @@ protected:
|
|||
nsIToolkit *mToolkit;
|
||||
nsIMouseListener *mMouseListener;
|
||||
nsIEventListener *mEventListener;
|
||||
/* nsIMenuListener *mMenuListener;*/
|
||||
nsIMenuListener *mMenuListener;
|
||||
nscolor mBackground;
|
||||
nscolor mForeground;
|
||||
nsCursor mCursor;
|
||||
|
|
Загрузка…
Ссылка в новой задаче