const wxString& caption,
long style,
const wxPoint& WXUNUSED(pos))
- : wxMessageDialogWithCustomLabels(GetParentForModalDialog(parent),
- message,
- caption,
- style)
+ : wxMessageDialogWithCustomLabels
+ (
+ GetParentForModalDialog(parent, style),
+ message,
+ caption,
+ style
+ )
{
}