1. fixed default dialog style to make them non resizeable again
2. fixed wxFrame::IsShown() which always returned TRUE before 3. wxWizard now calls TransferDataFromWindow() before calling wxWizardPage::GetNext() fixing an obvious bug 4. half-fixed fatal bug in wxDialog::ShowModal() which would crash if the top level app window was deleted while the modal dialog was shown git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -926,14 +926,16 @@ enum wxStretch
|
||||
#endif
|
||||
|
||||
#define wxDEFAULT_FRAME_STYLE \
|
||||
(wxSYSTEM_MENU | wxRESIZE_BORDER | wxMINIMIZE_BOX | wxMAXIMIZE_BOX | wxTHICK_FRAME | wxSYSTEM_MENU | wxCAPTION | wxCLIP_CHILDREN)
|
||||
(wxSYSTEM_MENU | wxRESIZE_BORDER | \
|
||||
wxMINIMIZE_BOX | wxMAXIMIZE_BOX | \
|
||||
wxCAPTION | wxCLIP_CHILDREN)
|
||||
|
||||
#ifdef __WXMSW__
|
||||
# define wxDEFAULT_DIALOG_STYLE (wxSYSTEM_MENU|wxCAPTION|wxTHICK_FRAME)
|
||||
# define wxDEFAULT_DIALOG_STYLE (wxSYSTEM_MENU | wxCAPTION)
|
||||
#else
|
||||
// Under Unix, the dialogs don't have a system menu. Specifying
|
||||
// wxSYSTEM_MENU here, will make a close button appear.
|
||||
# define wxDEFAULT_DIALOG_STYLE (wxCAPTION|wxTHICK_FRAME)
|
||||
// Under Unix, the dialogs don't have a system menu. Specifying wxSYSTEM_MENU
|
||||
// here will make a close button appear.
|
||||
# define wxDEFAULT_DIALOG_STYLE wxCAPTION
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user