From 3f6e557f1807b1a6a02eb75c5627932fed01677c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 28 Oct 2017 01:28:39 +0200 Subject: [PATCH] Tiny style fix in wxProgressDialog::GetHandle() No real changes, just remove the trailing spaces and add post-#endif comment for consistency. --- src/msw/progdlg.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/msw/progdlg.cpp b/src/msw/progdlg.cpp index f6df346553..43b897ff32 100644 --- a/src/msw/progdlg.cpp +++ b/src/msw/progdlg.cpp @@ -571,15 +571,16 @@ void wxProgressDialog::Resume() #endif // wxHAS_MSW_TASKDIALOG } -WXWidget wxProgressDialog::GetHandle() const -{ +WXWidget wxProgressDialog::GetHandle() const +{ #ifdef wxHAS_MSW_TASKDIALOG if ( HasNativeTaskDialog() ) { wxCriticalSectionLocker locker(m_sharedData->m_cs); return m_sharedData->m_hwnd; } -#endif +#endif // wxHAS_MSW_TASKDIALOG + return wxGenericProgressDialog::GetHandle(); }