wxDialog::~wxDialog() { // this will also reenable all the other windows for a modal dialog Show(false); DestroyGripper(); }
void wxDialog::SetWindowStyleFlag(long style) { wxDialogBase::SetWindowStyleFlag(style); if ( HasFlag(wxRESIZE_BORDER) ) CreateGripper(); else DestroyGripper(); }
wxDialog::~wxDialog() { // this will also reenable all the other windows for a modal dialog Show(false); #if wxUSE_DIALOG_SIZEGRIP DestroyGripper(); #endif // wxUSE_DIALOG_SIZEGRIP }