I'm very, very sorry. The code segment for the 2011.0 branch in the previous post was one of my latest tries (and doesn't even compile).
The correct code segment from the 2011.0 branch, that makes Hugin crash on OSX, is:
=====================================
void AboutDialog::SetMode(int newMode)
{
if(m_mode==newMode){
return;
}
switch ( newMode ) {
case 0 :
// about tab SetLogo(wxT("splash.png"));
break;
case 6 :
// dedication tab SetLogo(wxT("dedication.png"));
break;
default :
// all other tabs SetLogo(wxT("logo.png"));
}
I'm very, very sorry. The code segment for the 2011.0 branch in the previous post was one of my latest tries (and doesn't even compile).
The correct code segment from the 2011.0 branch, that makes Hugin crash on OSX, is: ======= ======= ======= ======= == :SetMode( int newMode) m_mode= =newMode) {
=======
void AboutDialog:
{
if(
return;
}
switch ( newMode ) {
case 0 :
SetLogo( wxT("splash. png"));
// about tab
break;
case 6 :
SetLogo( wxT("dedication .png")) ;
// dedication tab
break;
default :
SetLogo( wxT("logo. png"));
// all other tabs
}
m_mode=newMode; ======= ======= ======= ======= ==
return;
};
=======