Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
(Watcom compiler doesn't like ctor implementation in headers) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -261,6 +261,7 @@ void wxGenericPrintDialog::OnOK(wxCommandEvent& WXUNUSED(event))
|
||||
// and the standard print dialog. The global printing 'mode'
|
||||
// is determined by whether the user checks Print to file
|
||||
// or not.
|
||||
#if wxUSE_FILEDLG
|
||||
if (m_printDialogData.GetPrintToFile())
|
||||
{
|
||||
m_printDialogData.GetPrintData().SetPrintMode(wxPRINT_MODE_FILE);
|
||||
@@ -274,6 +275,7 @@ void wxGenericPrintDialog::OnOK(wxCommandEvent& WXUNUSED(event))
|
||||
m_printDialogData.GetPrintData().SetFilename( dialog.GetPath() );
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
m_printDialogData.GetPrintData().SetPrintMode(wxPRINT_MODE_PRINTER);
|
||||
}
|
||||
|
Reference in New Issue
Block a user