]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/wizard.cpp
Get rid of the class naming conflict with the base header for Print and supress some...
[wxWidgets.git] / src / generic / wizard.cpp
index 2e3b5dac7b300a6cfb1a902a1839a7c8052a3662..118c11e2c6f9b09fdba3075cd57ac42b85d54c59 100644 (file)
@@ -667,7 +667,11 @@ wxSize wxWizard::GetManualPageSize() const
 {
     // default width and height of the page
     static const int DEFAULT_PAGE_WIDTH = 270;
-    static const int DEFAULT_PAGE_HEIGHT = 290;
+    //static const int DEFAULT_PAGE_HEIGHT = 290;
+    // For compatibility with 2.4: there's too much
+    // space under the bitmap, probably due to differences in
+    // the sizer implementation. This makes it reasonable again.
+    static const int DEFAULT_PAGE_HEIGHT = 270;
 
     wxSize totalPageSize(DEFAULT_PAGE_WIDTH,DEFAULT_PAGE_HEIGHT);