Fixed bug introduced by previous commit (Swapped if/else order).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
66026c5c18
commit
fb4d5ecdc5
@ -229,11 +229,6 @@ bool wxWindowsPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt
|
||||
int minPageNum = minPage, maxPageNum = maxPage;
|
||||
|
||||
if ( !m_printDialogData.GetAllPages() )
|
||||
{
|
||||
minPageNum = minPage;
|
||||
maxPageNum = maxPage;
|
||||
}
|
||||
else
|
||||
{
|
||||
minPageNum = m_printDialogData.GetFromPage();
|
||||
maxPageNum = m_printDialogData.GetToPage();
|
||||
|
Loading…
Reference in New Issue
Block a user