X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b9518ee4a9cb8f6d4934afaed07aea011ec5ab1..9406d962ccf50d63f163896a2dd94123a2a8664a:/src/common/cmndata.cpp?ds=inline diff --git a/src/common/cmndata.cpp b/src/common/cmndata.cpp index e19b0aa713..19d2589a38 100644 --- a/src/common/cmndata.cpp +++ b/src/common/cmndata.cpp @@ -29,7 +29,7 @@ #include "wx/gdicmn.h" #include "wx/cmndata.h" -#ifdef __WINDOWS__ +#ifdef __WXMSW__ #include #ifndef __WIN32__ @@ -127,7 +127,7 @@ void wxFontData::operator=(const wxFontData& data) wxPrintData::wxPrintData(void) { -#ifdef __WINDOWS__ +#ifdef __WXMSW__ printData = NULL; #endif printOrientation = wxPORTRAIT; @@ -148,7 +148,7 @@ wxPrintData::wxPrintData(void) wxPrintData::~wxPrintData(void) { -#ifdef __WINDOWS__ +#ifdef __WXMSW__ PRINTDLG *pd = (PRINTDLG *)printData; if ( pd && pd->hDevMode ) GlobalFree(pd->hDevMode); @@ -157,7 +157,7 @@ wxPrintData::~wxPrintData(void) #endif } -#ifdef __WINDOWS__ +#ifdef __WXMSW__ void wxPrintData::ConvertToNative(void) { PRINTDLG *pd = (PRINTDLG*) printData; @@ -387,7 +387,7 @@ void wxPageSetupData::ConvertToNative(void) pd->Flags |= PSD_SHOWHELP; pd->lStructSize = sizeof( PAGESETUPDLG ); - pd->hwndOwner=(HANDLE)NULL; + pd->hwndOwner=(HWND)NULL; pd->hDevNames=(HWND)NULL; pd->hInstance=(HINSTANCE)NULL;