X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/600902562da4b1008c006a1d9daca40fc932b7ef..8482e4bdb9928fe9982ac214aee345b19894b39b:/src/common/cmndata.cpp diff --git a/src/common/cmndata.cpp b/src/common/cmndata.cpp index 7c646141cf..c6208b0e8c 100644 --- a/src/common/cmndata.cpp +++ b/src/common/cmndata.cpp @@ -51,7 +51,7 @@ #include #include "wx/msw/private.h" - #ifndef __SMARTPHONE__ + #ifndef __SMARTPHONE__ /* of WinCE */ #include #endif @@ -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