X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2bc87252ae509ad755ee1d631ab994bcdb6c5be..739c5499fcab1c165b8dd0591c9fd9e2329b3cf9:/src/msw/richmsgdlg.cpp diff --git a/src/msw/richmsgdlg.cpp b/src/msw/richmsgdlg.cpp index fe0bb4940d..67a827e21b 100644 --- a/src/msw/richmsgdlg.cpp +++ b/src/msw/richmsgdlg.cpp @@ -18,6 +18,7 @@ #if wxUSE_RICHMSGDLG #include "wx/richmsgdlg.h" +#include "wx/testing.h" #ifndef WX_PRECOMP #include "wx/msw/private.h" @@ -33,6 +34,8 @@ int wxRichMessageDialog::ShowModal() { + WX_TESTING_SHOW_MODAL_HOOK(); + #ifdef wxHAS_MSW_TASKDIALOG using namespace wxMSWMessageDialog; @@ -47,14 +50,14 @@ int wxRichMessageDialog::ShowModal() // add a checkbox if ( !m_checkBoxText.empty() ) { - tdc.pszVerificationText = m_checkBoxText.wx_str(); + tdc.pszVerificationText = m_checkBoxText.t_str(); if ( m_checkBoxValue ) tdc.dwFlags |= TDF_VERIFICATION_FLAG_CHECKED; } // add collapsible footer if ( !m_detailedText.empty() ) - tdc.pszExpandedInformation = m_detailedText.wx_str(); + tdc.pszExpandedInformation = m_detailedText.t_str(); TaskDialogIndirect_t taskDialogIndirect = GetTaskDialogIndirectFunc(); if ( !taskDialogIndirect )