Visualage C++ V4.0 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -35,8 +35,8 @@ IMPLEMENT_CLASS(wxPrinterDC, wxDC)
|
||||
// This form is deprecated
|
||||
wxPrinterDC::wxPrinterDC(const wxString& driver_name, const wxString& device_name, const wxString& file, bool interactive, int orientation)
|
||||
{
|
||||
LONG lType;
|
||||
HAB hab;
|
||||
LONG lType = 0;
|
||||
HAB hab = 0;
|
||||
DEVOPENSTRUC devOpen = { (char*)device_name.c_str()
|
||||
,(char*)driver_name.c_str()
|
||||
,NULL
|
||||
@@ -284,7 +284,7 @@ static bool wxGetDefaultDeviceName(wxString& deviceName, wxString& portName)
|
||||
// Gets an HDC for the specified printer configuration
|
||||
WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& printDataConst)
|
||||
{
|
||||
HDC hDC;
|
||||
HDC hDC = NULLHANDLE;
|
||||
/*
|
||||
wxPrintData printData = printDataConst;
|
||||
printData.ConvertToNative();
|
||||
|
Reference in New Issue
Block a user