]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/msgdlg.h
destroy m_impl even if an exception is thrown from the main loop
[wxWidgets.git] / include / wx / mac / carbon / msgdlg.h
index cdeb7fd0852ff60dfa536c9b17127d781ab4d78a..c74734d9d2910ea57d3ac1056dc6bd06f017cb33 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef _WX_MSGBOXDLG_H_
 #define _WX_MSGBOXDLG_H_
 
-#include "wx/setup.h"
+#include "wx/defs.h"
 #include "wx/dialog.h"
 
 /*
@@ -39,6 +39,7 @@ public:
 
     int ShowModal();
 
+protected:
     // not supported for message dialog, RR
     virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y),
                            int WXUNUSED(width), int WXUNUSED(height),