#if wxUSE_RICHMSGDLG
#include "wx/richmsgdlg.h"
+#include "wx/testing.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/msw/private.h"
+#endif
// This will define wxHAS_MSW_TASKDIALOG if we have support for it in the
// headers we use.
int wxRichMessageDialog::ShowModal()
{
+ WX_TESTING_SHOW_MODAL_HOOK();
+
#ifdef wxHAS_MSW_TASKDIALOG
using namespace wxMSWMessageDialog;
// 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 )