From 55069f24fa64b361344ec802cf78968c19349299 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 18 Sep 2004 09:27:11 +0000 Subject: [PATCH] compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/cmndata.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/cmndata.cpp b/src/common/cmndata.cpp index 7c646141cf..b3d61564b8 100644 --- a/src/common/cmndata.cpp +++ b/src/common/cmndata.cpp @@ -490,7 +490,7 @@ void wxPrintData::ConvertToNative() case wxPRINTBIN_MANUAL: devMode->dmDefaultSource = DMBIN_MANUAL; break; case wxPRINTBIN_ENVELOPE: devMode->dmDefaultSource = DMBIN_ENVELOPE; break; case wxPRINTBIN_ENVMANUAL: devMode->dmDefaultSource = DMBIN_ENVMANUAL; break; - case wxPRINTBIN_AUTO: devMode->dmDefaultSource = DMBIN_AUTO,; break; + case wxPRINTBIN_AUTO: devMode->dmDefaultSource = DMBIN_AUTO; break; case wxPRINTBIN_TRACTOR: devMode->dmDefaultSource = DMBIN_TRACTOR; break; case wxPRINTBIN_SMALLFMT: devMode->dmDefaultSource = DMBIN_SMALLFMT; break; case wxPRINTBIN_LARGEFMT: devMode->dmDefaultSource = DMBIN_LARGEFMT; break; @@ -554,7 +554,7 @@ void wxPrintData::ConvertFromNative() if (devMode->dmFields & DM_DEFAULTSOURCE) { - m_bin = devMode->dmDefaultSource; + m_bin = (wxPrintBin)devMode->dmDefaultSource; } //// Printer name