| Version: 3.3.1

Public Member Functions | List of all members
wxExpectAny Class Reference

`#include <wx/testing.h>`

Inheritance diagram for wxExpectAny:
[legend]

## Detailed Description

Expectation of any kind of modal dialog.

This can be used when the exact type of the dialog doesn't matter and it just needs to be dismissed (e.g. by passing `wxID_OK` to the constructor to pretend that its "OK" button was pressed).

Since
  2.9.5

## Public Member Functions
| wxExpectAny (int id)
| Creates an object expecting any kind of dialog. More...

## Constructor & Destructor Documentation

## ◆ wxExpectAny()

wxExpectAny::wxExpectAny | ( | int | id | ) |
| explicit

Creates an object expecting any kind of dialog.

The given id is returned from wxDialog::ShowModal() call.