mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 23:12:21 +00:00
Making it compile on the Mac
This commit is contained in:
parent
f125653c3e
commit
839a796540
@ -22,7 +22,11 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#ifdef XP_MAC
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
#include "nsViewer.h"
|
||||
#include "resources.h" // #defines ID's for menu items
|
||||
|
@ -152,8 +152,8 @@ class nsViewer : public nsDispatchListener {
|
||||
virtual nsDocLoader* SetupViewer(nsIWidget **aMainWindow,int argc, char **argv);
|
||||
virtual void CleanupViewer(nsDocLoader* aDl);
|
||||
virtual nsEventStatus DispatchMenuItem(nsGUIEvent *aEvent);
|
||||
virtual nsEventStatus nsViewer::DispatchMenuItem(PRUint32 aId);
|
||||
virtual nsEventStatus nsViewer::ProcessMenu(PRUint32 aId, WindowData* wd);
|
||||
virtual nsEventStatus DispatchMenuItem(PRUint32 aId);
|
||||
virtual nsEventStatus ProcessMenu(PRUint32 aId, WindowData* wd);
|
||||
|
||||
virtual nsresult ShowPrintPreview(nsIWebWidget* web, PRIntn aColumns);
|
||||
virtual WindowData* CreateTopLevel(const char* title, int aWidth, int aHeight);
|
||||
|
Loading…
x
Reference in New Issue
Block a user