X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2aab96f58d53e83313cc1d619dde1c00f6ccaa80..404b319a85dadd7decf7a5a5331020520031a41c:/src/generic/preferencesg.cpp?ds=sidebyside diff --git a/src/generic/preferencesg.cpp b/src/generic/preferencesg.cpp index a19cc44d78..e9b7fbb3a9 100644 --- a/src/generic/preferencesg.cpp +++ b/src/generic/preferencesg.cpp @@ -159,6 +159,7 @@ public: virtual void Show(wxWindow* parent) { wxScopedPtr dlg(CreateWindow(parent)); + dlg->Fit(); dlg->ShowModal(); }