Checkpoint for mac os x reactivation.

Having trouble with the implementation of getHandleToPeer.

Current problem is that JAWT_DrawingSurface->Lock() is failing.

Why would that be?


git-svn-id: svn://10.0.0.236/trunk@173357 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2005-05-13 06:40:12 +00:00
parent 16ed34f985
commit ba350c1664
19 changed files with 378 additions and 65 deletions

View File

@@ -140,14 +140,16 @@ NativeBrowserControl::Realize(jobject javaBrowserControl,
mSessionHistory = do_CreateInstance(NS_SHISTORY_CONTRACTID);
mNavigation->SetSessionHistory(mSessionHistory);
#ifdef XP_UNIX
#if defined(XP_UNIX) && !defined(XP_MACOSX)
PR_ASSERT(PR_FALSE);
GtkWidget *ownerAsWidget (GTK_WIDGET(parentWinPtr));
parentHWnd = ownerAsWidget;
width = ownerAsWidget->allocation.width;
height = ownerAsWidget->allocation.height;
#else
#elif !defined(XP_MACOSX)
parentHWnd = (HWND) parentWinPtr;
#else
parentHWnd = parentWinPtr;
#endif
// create the window