X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a7b022960a68e1d9cf2561375e8c0376e07e93b..c8ddadff843cef0534220bf5561f095a59a57ea4:/src/msw/filedlg.cpp diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index 7aea0ff006..7ed1c81362 100644 --- a/src/msw/filedlg.cpp +++ b/src/msw/filedlg.cpp @@ -68,12 +68,6 @@ // resizeable static wxRect gs_rectDialog(0, 0, 428, 266); -// we have no way to retrieve the dialog size before it is shown so calling -// Centre() before ShowModal() doesn't work correctly (and we can't do it -// after), hence we set a special flag and recenter the dialog when it's about -// to be shown -static bool gs_centerDialog = false; - // ============================================================================ // implementation // ============================================================================