From d6f6f90a65bd6404b5bee7498c6ef6f4ed1b5597 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 28 Mar 2000 08:52:19 +0000 Subject: [PATCH] Fixed buggy printer-setting-remembering bug fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/cmndata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()