Vadim Zeitlin
2009-04-23 13:31:02 UTC
On Thu, 23 Apr 2009 11:57:38 +0200 Riccardo Cohen <***@architectedulogiciel.fr> wrote:
RC> Hello
RC> I could run some samples on 2.9.0 but on one sample, I have a dialog
RC> that is shown as modal dialog during the Init() function of wxApp.
RC>
RC> bool testanywxApp::OnInit()
RC> {
RC> anydialog *dialog=new anydialog(NULL);
RC> dialog->ShowModal();
RC> delete dialog;
RC>
RC> On MacOsX this does not work because there is an assertion :
RC>
RC> ../src/osx/carbon/dialog.cpp(54): assert "loop" failed in DoShowModal():
RC> No Event Loop in place
RC>
RC> and on Win32 this works all right.
The assert was removed/corrected for Windows and GTK but apparently not
Mac... Francesco, can you do whatever you did for these platforms for OSX
as well (in both trunk and 2.9.0 branch) please?
TIA,
VZ
RC> Hello
RC> I could run some samples on 2.9.0 but on one sample, I have a dialog
RC> that is shown as modal dialog during the Init() function of wxApp.
RC>
RC> bool testanywxApp::OnInit()
RC> {
RC> anydialog *dialog=new anydialog(NULL);
RC> dialog->ShowModal();
RC> delete dialog;
RC>
RC> On MacOsX this does not work because there is an assertion :
RC>
RC> ../src/osx/carbon/dialog.cpp(54): assert "loop" failed in DoShowModal():
RC> No Event Loop in place
RC>
RC> and on Win32 this works all right.
The assert was removed/corrected for Windows and GTK but apparently not
Mac... Francesco, can you do whatever you did for these platforms for OSX
as well (in both trunk and 2.9.0 branch) please?
TIA,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/