temp windows build fix.. real fix coming shortly

This commit is contained in:
pavlov%pavlov.net 2006-02-10 23:28:28 +00:00
Родитель 7f3ba76b70
Коммит 01f950e2a0
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -37,7 +37,7 @@
#include "nsDeviceContextWin.h"
#include "nsRenderingContextWin.h"
#include "nsDeviceContextSpecWin.h"
//#include "nsDeviceContextSpecWin.h"
#include "nsIServiceManager.h"
#include "nsCOMPtr.h"
#include "nsIScreenManager.h"
@ -696,6 +696,7 @@ BOOL CALLBACK abortproc( HDC hdc, int iError )
NS_IMETHODIMP nsDeviceContextWin :: GetDeviceContextFor(nsIDeviceContextSpec *aDevice,
nsIDeviceContext *&aContext)
{
#if 0
nsDeviceContextWin* devConWin = new nsDeviceContextWin(); //ref count 0
if (devConWin != nsnull) {
// this will ref count it
@ -724,6 +725,8 @@ NS_IMETHODIMP nsDeviceContextWin :: GetDeviceContextFor(nsIDeviceContextSpec *aD
}
return devConWin->Init(dc, this); // take ownership of the DC
#endif
return NS_ERROR_NOT_IMPLEMENTED;
}
#if defined(DEBUG_rods) || defined(DEBUG_dcone)