Remove useless initializations
wxObject-derived types and wxString are null/empty by default.
This commit is contained in:
@@ -86,7 +86,6 @@ wxIMPLEMENT_CLASS(wxPostScriptPrintNativeData, wxPrintNativeDataBase);
|
||||
|
||||
wxPostScriptPrintNativeData::wxPostScriptPrintNativeData()
|
||||
{
|
||||
m_previewCommand = wxEmptyString;
|
||||
#ifdef __VMS__
|
||||
m_printerCommand = wxT("print");
|
||||
m_printerOptions = wxT("/nonotify/queue=psqueue");
|
||||
@@ -95,14 +94,11 @@ wxPostScriptPrintNativeData::wxPostScriptPrintNativeData()
|
||||
|
||||
#ifdef __WXMSW__
|
||||
m_printerCommand = wxT("print");
|
||||
m_printerOptions = wxEmptyString;
|
||||
m_afmPath = wxT("c:\\windows\\system\\");
|
||||
#endif
|
||||
|
||||
#if !defined(__VMS__) && !defined(__WXMSW__)
|
||||
m_printerCommand = wxT("lpr");
|
||||
m_printerOptions = wxEmptyString;
|
||||
m_afmPath = wxEmptyString;
|
||||
#endif
|
||||
|
||||
m_printerScaleX = 1.0;
|
||||
|
||||
Reference in New Issue
Block a user