X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec5f0c24123fe801fb82b69771c171c0b9d064fc..550f38d74380256da7bfcb961d40ff86f677f77e:/include/wx/msw/dialog.h diff --git a/include/wx/msw/dialog.h b/include/wx/msw/dialog.h index 319cd2bcc4..3d8cfa3cc2 100644 --- a/include/wx/msw/dialog.h +++ b/include/wx/msw/dialog.h @@ -137,6 +137,14 @@ protected: // end either modal or modeless dialog void EndDialog(int rc); + // emulate click of a button with the given id if it's present in the dialog + // + // return true if button was "clicked" or false if we don't have it + bool EmulateButtonClickIfPresent(int id); + + // handle Escape here + virtual bool MSWProcessMessage(WXMSG* pMsg); + private: wxWindow* m_oldFocus; bool m_endModalCalled; // allow for closing within InitDialog