portrait/landscape doesn't work, pages are printed wrong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@531
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// This code doesn't work, because we don't have a DC yet.
// How on earth are we supposed to calculate the number of pages then?
+ *minPage = 0; // set this to 0 to disable editing of page numbers
+ *maxPage = 100;
- *minPage = 1;
- *maxPage = 32000;
+ *selPageFrom = 0; // set this to 0 to hide page number controls
+ *selPageTo = 100;
- *selPageFrom = 1;
- *selPageTo = 1;
+// *minPage = 1;
+// *maxPage = 32000;
+
+// *selPageFrom = 1;
+// *selPageTo = 1;
#if 0
CoordType height;
bool wxLayoutPrintout::HasPage(int pageNum)
{
- return true;
+ return pageNum <= 5; // for testing
// return m_maxPage >= pageNum;
}