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:
@@ -30,6 +30,7 @@
|
||||
(defined(__HANDHELDPC__) && (_WIN32_WCE >= 500)))
|
||||
|
||||
#include "wx/dirdlg.h"
|
||||
#include "wx/testing.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/utils.h"
|
||||
@@ -220,6 +221,8 @@ void wxDirDialog::SetPath(const wxString& path)
|
||||
|
||||
int wxDirDialog::ShowModal()
|
||||
{
|
||||
WX_TESTING_SHOW_MODAL_HOOK();
|
||||
|
||||
wxWindow* const parent = GetParent();
|
||||
WXHWND hWndParent = parent ? GetHwndOf(parent) : NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user