Win16 corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -210,7 +210,7 @@ wxPrintData::~wxPrintData()
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef __WXMSW__
|
||||
#if defined(__WXMSW__) && defined(__WIN32__)
|
||||
|
||||
static wxString wxGetPrintDlgError()
|
||||
{
|
||||
@@ -282,7 +282,8 @@ void wxPrintData::ConvertToNative()
|
||||
GlobalFree(pd->hDevNames);
|
||||
pd->hDevMode = NULL;
|
||||
pd->hDevNames = NULL;
|
||||
#ifdef __WXDEBUG__
|
||||
|
||||
#if defined(__WXDEBUG__) && defined(__WIN32__)
|
||||
wxString str("Printing error: ");
|
||||
str += wxGetPrintDlgError();
|
||||
wxLogDebug(str);
|
||||
|
Reference in New Issue
Block a user