added tests for centering dialogs on screen/parent

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-02-09 23:17:35 +00:00
parent b40bb73e7c
commit cae50e6bbd
2 changed files with 31 additions and 4 deletions

View File

@@ -231,6 +231,8 @@ public:
#if USE_MODAL_PRESENTATION
void ModalDlg(wxCommandEvent& event);
void ModelessDlg(wxCommandEvent& event);
void DlgCenteredScreen(wxCommandEvent& event);
void DlgCenteredParent(wxCommandEvent& event);
#endif // USE_MODAL_PRESENTATION
#if wxUSE_PROGRESSDLG
@@ -320,6 +322,8 @@ enum
DIALOGS_LOG_DIALOG,
DIALOGS_MODAL,
DIALOGS_MODELESS,
DIALOGS_CENTRE_SCREEN,
DIALOGS_CENTRE_PARENT,
DIALOGS_MODELESS_BTN,
DIALOGS_PROGRESS,
DIALOGS_BUSYINFO,