181{
182 wxWindow * pParent = wxTheApp->GetTopWindow();
183
184
185
186 if (pParent) {
187 if ((pParent->GetWindowStyle() & wxSTAY_ON_TOP) == wxSTAY_ON_TOP)
188 pParent = NULL;
189 }
191 message,
title, buttons, helpPage, boxMsg, log);
192
193 if (pParent != NULL)
194 dlog.CentreOnParent();
195 else {
196 dlog.CenterOnScreen();
197
198
199
200
201 wxSize Size = dlog.GetSize();
202 Size.SetHeight( 10 );
203 wxPoint Pos = dlog.GetPosition() -Size;
204 dlog.Move(Pos);
205 }
206 return dlog.ShowModal();
207}
A dialog presenting an exclusive, multiple choice, help button, and log info.