using suppression of idle processing (delayed destruction happened too early eg when showing native message boxes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "wx/control.h"
|
||||
#include "wx/thread.h"
|
||||
#include "wx/evtloop.h"
|
||||
#include "wx/osx/private.h"
|
||||
|
||||
|
||||
@@ -61,6 +62,8 @@ wxMessageDialog::~wxMessageDialog()
|
||||
|
||||
int wxMessageDialog::ShowModal()
|
||||
{
|
||||
wxCFEventLoopPauseObservers pause;
|
||||
|
||||
int resultbutton = wxID_CANCEL;
|
||||
|
||||
const long style = GetMessageDialogStyle();
|
||||
|
Reference in New Issue
Block a user