Purge XP_PC.

Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
seawood%netscape.com
2003-04-02 22:45:08 +00:00
parent ec2f9397b0
commit 5921049139
92 changed files with 187 additions and 211 deletions

View File

@@ -108,7 +108,7 @@ gboolean draw (GtkWidget *widget, GdkEventExpose *event, gpointer data);
* Windows PlatformInstance
*----------------------------------------------------------------------------*/
#if defined(XP_PC) && !defined(XP_OS2) // XXXX OS2TODO
#if defined(XP_WIN) // XXXX OS2TODO
typedef struct _PlatformInstance
{
HWND fhWnd;
@@ -288,7 +288,7 @@ public:
NS_IMETHOD Repaint(void);
#endif
#if defined(XP_PC) && !defined(XP_OS2)
#ifdef XP_WIN
static LRESULT CALLBACK
PluginWindowProc( HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam);
#endif
@@ -702,7 +702,7 @@ NS_IMETHODIMP SimplePluginInstance::SetText(const char * aText)
if(!fText)
return NS_ERROR_OUT_OF_MEMORY;
#if defined(XP_PC) && !defined(XP_OS2)
#ifdef XP_WIN
if(fPlatform.fhWnd) {
InvalidateRect( fPlatform.fhWnd, NULL, TRUE );
UpdateWindow( fPlatform.fhWnd );
@@ -1036,7 +1036,7 @@ gboolean draw (GtkWidget *widget, GdkEventExpose *event, gpointer data)
* Windows Implementations
*----------------------------------------------------------------------------*/
#elif defined(XP_PC) && !defined(XP_OS2)
#elif defined(XP_WIN)
const char* gInstanceLookupString = "instance->pdata";
/*+++++++++++++++++++++++++++++++++++++++++++++++++