X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a7b022960a68e1d9cf2561375e8c0376e07e93b..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/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 // ============================================================================