diff --git a/src/common/cmndata.cpp b/src/common/cmndata.cpp index 6ce1a1310e..6da76e2029 100644 --- a/src/common/cmndata.cpp +++ b/src/common/cmndata.cpp @@ -475,7 +475,7 @@ void wxPrintData::ConvertToNative() } // TODO: I hope it's OK to pass some empty strings to DEVNAMES. - hDevNames = wxCreateDevNames("", m_printerName, ""); + m_devNames = (void*) (long) wxCreateDevNames("", m_printerName, ""); } void wxPrintData::ConvertFromNative()