X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4f6d9982e2ff8506b7938862c46de5d525f00ff..f4f5d5697dc5e34a5582061dbd857d1cd4326f91:/samples/widgets/dirctrl.cpp diff --git a/samples/widgets/dirctrl.cpp b/samples/widgets/dirctrl.cpp index 6995b79e51..472416f3ed 100644 --- a/samples/widgets/dirctrl.cpp +++ b/samples/widgets/dirctrl.cpp @@ -28,19 +28,19 @@ // for all others, include the necessary headers #ifndef WX_PRECOMP + #include "wx/app.h" + #include "wx/log.h" #include "wx/sizer.h" #include "wx/statbox.h" #include "wx/radiobox.h" #include "wx/checkbox.h" #include "wx/button.h" - #include "wx/app.h" #endif #include "wx/generic/dirctrlg.h" #include "wx/wupdlock.h" #include "wx/stdpaths.h" -#include "wx/msgdlg.h" #include "widgets.h" @@ -216,8 +216,6 @@ void DirCtrlWidgetsPage::CreateContent() Reset(); SetSizer(sizerTop); - - sizerTop->Fit(this); } void DirCtrlWidgetsPage::Reset()