mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
mac initialzation is now working
This commit is contained in:
parent
38c6e8d799
commit
fc9395e64d
@ -19,6 +19,7 @@
|
||||
#include "nsToolkit.h"
|
||||
#include "nsWindow.h"
|
||||
#include "nsGUIEvent.h"
|
||||
#include <Quickdraw.h>
|
||||
#include <Fonts.h>
|
||||
#include <TextEdit.h>
|
||||
#include <Dialogs.h>
|
||||
@ -40,10 +41,11 @@ nsToolkit::nsToolkit()
|
||||
NS_INIT_REFCNT();
|
||||
|
||||
// once only, macintosh specific initialization
|
||||
if( mInit == PR_TRUE)
|
||||
if( mInit == PR_FALSE)
|
||||
{
|
||||
mInit = PR_TRUE;
|
||||
InitGraf;
|
||||
InitGraf(&qd.thePort);
|
||||
InitFonts();
|
||||
InitWindows();
|
||||
InitMenus();
|
||||
TEInit();
|
||||
|
Loading…
Reference in New Issue
Block a user