Version: 3.3.0
wxExpectAny Class Reference

#include <wx/testing.h>

+ Inheritance diagram for wxExpectAny:

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.