removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -753,10 +753,6 @@ bool wxWindowsPrintDialog::ConvertToNative( wxPrintDialogData &data )
|
||||
pd->Flags |= PD_PAGENUMS;
|
||||
if ( data.GetEnableHelp() )
|
||||
pd->Flags |= PD_SHOWHELP;
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
if ( data.GetSetupDialog() )
|
||||
pd->Flags |= PD_PRINTSETUP;
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -812,9 +808,7 @@ bool wxWindowsPrintDialog::ConvertFromNative( wxPrintDialogData &data )
|
||||
data.EnableSelection( ((pd->Flags & PD_NOSELECTION) != PD_NOSELECTION) );
|
||||
data.EnablePageNumbers( ((pd->Flags & PD_NOPAGENUMS) != PD_NOPAGENUMS) );
|
||||
data.EnableHelp( ((pd->Flags & PD_SHOWHELP) == PD_SHOWHELP) );
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
data.SetSetupDialog( ((pd->Flags & PD_PRINTSETUP) == PD_PRINTSETUP) );
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user