-bool wxProgressDialog::HasNativeProgressDialog() const
-{
-#ifdef wxHAS_MSW_TASKDIALOG
- // For a native implementation task dialogs are required, which
- // also require at least one button to be present so the flags needs
- // to be checked as well to see if this is the case.
- return HasNativeTaskDialog()
- && ((m_windowStyle & (wxPD_CAN_SKIP | wxPD_CAN_ABORT))
- || !(m_windowStyle & wxPD_AUTO_HIDE));
-#else // !wxHAS_MSW_TASKDIALOG
- // This shouldn't be even called in !wxHAS_MSW_TASKDIALOG case but as we
- // still must define the function as returning something, return false.
- return false;
-#endif // wxHAS_MSW_TASKDIALOG/!wxHAS_MSW_TASKDIALOG
-}
-