git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35507
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
SetMessageDialogStyle(style);
}
SetMessageDialogStyle(style);
}
+extern "C"
+{
+ typedef Widget (*DialogCreateFunction)(Widget, String, ArgList, Cardinal);
+}
+
int wxMessageDialog::ShowModal()
{
int wxMessageDialog::ShowModal()
{
- Widget (*dialogCreateFunction)(Widget, String, ArgList, Cardinal) = NULL;
const long style = GetMessageDialogStyle();
const long style = GetMessageDialogStyle();
+ DialogCreateFunction dialogCreateFunction;
if ( style & wxYES_NO )
{
// if we have [Yes], it must be a question
if ( style & wxYES_NO )
{
// if we have [Yes], it must be a question