Windows fixes (PR 10861)

This commit is contained in:
Matthew Flatt 2010-04-16 17:11:22 -04:00
parent 531598c145
commit c4367f536c
2 changed files with 16 additions and 0 deletions

View File

@ -189,6 +189,10 @@ int wxMessageBox(char *message, char *caption, long type,
}
#ifdef MZ_PRECISE_GC
START_XFORM_SKIP;
#endif
static BOOL DoGetSaveFileName(OPENFILENAMEW *of, HWND parent)
{
if (!of->hwndOwner)
@ -228,6 +232,10 @@ static BOOL DoGetDir(BROWSEINFOW *b, HWND parent)
return 0;
}
#ifdef MZ_PRECISE_GC
START_XFORM_SKIP;
#endif
static int set_init_dir;
extern void MrEdSyncCurrentDir(void);

View File

@ -2977,6 +2977,10 @@ Bool wxCanvasDC::GCBlit(double xdest, double ydest, double width, double height,
return FALSE;
}
#ifdef MZ_PRECISE_GC
START_XFORM_SKIP;
#endif
static BOOL DoPrintDlg(PRINTDLG *pd, HWND parent)
{
if (!pd->hwndOwner)
@ -2985,6 +2989,10 @@ static BOOL DoPrintDlg(PRINTDLG *pd, HWND parent)
return PrintDlg(pd);
}
#ifdef MZ_PRECISE_GC
END_XFORM_SKIP;
#endif
wxPrinterDC::wxPrinterDC(wxWindow *parent, char *driver_name, char *device_name, char *file, Bool interactive)
{
HWND hwnd = NULL;