]> git.saurik.com Git - wxWidgets.git/commitdiff
Restored the default wizard height to match 2.4 (and bitmap size)
authorJulian Smart <julian@anthemion.co.uk>
Tue, 12 Oct 2004 18:15:59 +0000 (18:15 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 12 Oct 2004 18:15:59 +0000 (18:15 +0000)
settings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;
 {
     // 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);
 
 
     wxSize totalPageSize(DEFAULT_PAGE_WIDTH,DEFAULT_PAGE_HEIGHT);