Add wxTEST_DIALOG for testing of modal dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include "wx/msgdlg.h"
|
||||
#include "wx/artprov.h"
|
||||
#include "wx/textwrapper.h"
|
||||
#include "wx/testing.h"
|
||||
|
||||
#if wxUSE_STATLINE
|
||||
#include "wx/statline.h"
|
||||
@@ -268,6 +269,8 @@ void wxGenericMessageDialog::OnCancel(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
int wxGenericMessageDialog::ShowModal()
|
||||
{
|
||||
WX_TESTING_SHOW_MODAL_HOOK();
|
||||
|
||||
if ( !m_created )
|
||||
{
|
||||
m_created = true;
|
||||
|
||||
Reference in New Issue
Block a user