git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33290
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
*exflags |= WS_EX_DLGMODALFRAME;
else if ( !(style & wxBORDER_NONE) )
msflags |= WS_BORDER;
*exflags |= WS_EX_DLGMODALFRAME;
else if ( !(style & wxBORDER_NONE) )
msflags |= WS_BORDER;
else
msflags |= WS_POPUP;
else
msflags |= WS_POPUP;
#endif
// normally we consider that all windows without a caption must be popups,
#endif
// normally we consider that all windows without a caption must be popups,
// all dialogs are popups
dlgTemplate->style |= WS_POPUP;
// all dialogs are popups
dlgTemplate->style |= WS_POPUP;
// force 3D-look if necessary, it looks impossibly ugly otherwise
if ( style & (wxRESIZE_BORDER | wxCAPTION) )
dlgTemplate->style |= DS_MODALFRAME;
// force 3D-look if necessary, it looks impossibly ugly otherwise
if ( style & (wxRESIZE_BORDER | wxCAPTION) )
dlgTemplate->style |= DS_MODALFRAME;
ret = CreateDialog(dlgTemplate, title, pos, sizeReal);
free(dlgTemplate);
ret = CreateDialog(dlgTemplate, title, pos, sizeReal);
free(dlgTemplate);