]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/preferences.mm
Use the best instead of current page size in OS X preferences dialog.
[wxWidgets.git] / src / osx / cocoa / preferences.mm
index 81160c7b3e4d3be0e8456ac4e743342b96b2a8c4..14a971d7e517d3732efda68f44a5a2fdd27ba365 100644 (file)
@@ -129,6 +129,7 @@ private:
         {
             info->win = info->page->CreateWindow(this);
             info->win->Hide();
+            info->win->Fit();
             // fill the page with data using wxEVT_INIT_DIALOG/TransferDataToWindow:
             info->win->InitDialog();
         }