[Hugin-devs] [Bug 733793] Re: About window crashes on OSX for 2011.0 beta versions
Is snapshot the released beta version? This should be fixed in 2011.0 branch. See https://bugs.launchpad.net/hugin/+bug/726318 -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/733793 Title: About window crashes on OSX for 2011.0 beta versions Status in Hugin - Panorama Tools GUI: New Bug description: The aboutdialog.cpp crashes hugin in the 2011 branch. The aboutdialog in the trunk works correctly. This is due to the fact that the aboutdialog.cpp within the 2011.0 (beta) branch is different from the trunk one. I have already been fiddling with the code the past couple of days but I'm obviously an even worse programmer than I expected to be as I can't repair it. Can this please be fixed? The trunk contains the code (This functions!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } if((newMode!=6)(m_mode!=6)){ m_mode=newMode; return; } // image to be displayed on dedication tab if(newMode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } // image to be displayed on any other tab if(m_mode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } }; = The 2011.0 branch contains the code (This crashes hugin!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } switch ( newMode ) { case 0 : // about tab wxString strFile = MacGetPathToBundledResourceFile(CFSTR(splash.png)); SetLogo(wxT(strFile)); break; case 6 : // dedication tab strFile = MacGetPathToBundledResourceFile(CFSTR(dedication.png)); SetLogo(wxT(strFile)); break; default : // all other tabs strFile = MacGetPathToBundledResourceFile(CFSTR(logo.png)); SetLogo(wxT(strFile)); } m_mode=newMode; return; }; = ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 733793] Re: About window crashes on OSX for 2011.0 beta versions
I see the crash (just a segfault with no other messages) on fedora 14 i386, 2011.0 branch, from 11th March, HG 5098:45dc653144f3. Deleting the ~/.hugin file makes no difference. The same snapshot on fedora 13 x86_64 is ok. These are both built in mock chroots, so they should be 'clean' installs. f13 and f14 have the same version of wxwidgets. So I don't have any ideas, if nobody else can reproduce on Linux then we can probably ignore this. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/733793 Title: About window crashes on OSX for 2011.0 beta versions Status in Hugin - Panorama Tools GUI: New Bug description: The aboutdialog.cpp crashes hugin in the 2011 branch. The aboutdialog in the trunk works correctly. This is due to the fact that the aboutdialog.cpp within the 2011.0 (beta) branch is different from the trunk one. I have already been fiddling with the code the past couple of days but I'm obviously an even worse programmer than I expected to be as I can't repair it. Can this please be fixed? The trunk contains the code (This functions!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } if((newMode!=6)(m_mode!=6)){ m_mode=newMode; return; } // image to be displayed on dedication tab if(newMode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } // image to be displayed on any other tab if(m_mode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } }; = The 2011.0 branch contains the code (This crashes hugin!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } switch ( newMode ) { case 0 : // about tab wxString strFile = MacGetPathToBundledResourceFile(CFSTR(splash.png)); SetLogo(wxT(strFile)); break; case 6 : // dedication tab strFile = MacGetPathToBundledResourceFile(CFSTR(dedication.png)); SetLogo(wxT(strFile)); break; default : // all other tabs strFile = MacGetPathToBundledResourceFile(CFSTR(logo.png)); SetLogo(wxT(strFile)); } m_mode=newMode; return; }; = ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 733793] Re: About window crashes on OSX for 2011.0 beta versions
Should be fixed in branch now. ** Changed in: hugin Status: New = Fix Committed ** Changed in: hugin Milestone: None = 2011.0beta3 -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/733793 Title: About window crashes on OSX for 2011.0 beta versions Status in Hugin - Panorama Tools GUI: Fix Committed Bug description: The aboutdialog.cpp crashes hugin in the 2011 branch. The aboutdialog in the trunk works correctly. This is due to the fact that the aboutdialog.cpp within the 2011.0 (beta) branch is different from the trunk one. I have already been fiddling with the code the past couple of days but I'm obviously an even worse programmer than I expected to be as I can't repair it. Can this please be fixed? The trunk contains the code (This functions!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } if((newMode!=6)(m_mode!=6)){ m_mode=newMode; return; } // image to be displayed on dedication tab if(newMode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } // image to be displayed on any other tab if(m_mode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } }; = The 2011.0 branch contains the code (This crashes hugin!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } switch ( newMode ) { case 0 : // about tab wxString strFile = MacGetPathToBundledResourceFile(CFSTR(splash.png)); SetLogo(wxT(strFile)); break; case 6 : // dedication tab strFile = MacGetPathToBundledResourceFile(CFSTR(dedication.png)); SetLogo(wxT(strFile)); break; default : // all other tabs strFile = MacGetPathToBundledResourceFile(CFSTR(logo.png)); SetLogo(wxT(strFile)); } m_mode=newMode; return; }; = ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 733793] Re: About window crashes on OSX for 2011.0 beta versions
As far as I could detect the patch was a onely a the addition of m_logoImgCtrl=NULL; I applied that patch to my beta2, but the about windows still crashes. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/733793 Title: About window crashes on OSX for 2011.0 beta versions Status in Hugin - Panorama Tools GUI: Fix Committed Bug description: The aboutdialog.cpp crashes hugin in the 2011 branch. The aboutdialog in the trunk works correctly. This is due to the fact that the aboutdialog.cpp within the 2011.0 (beta) branch is different from the trunk one. I have already been fiddling with the code the past couple of days but I'm obviously an even worse programmer than I expected to be as I can't repair it. Can this please be fixed? The trunk contains the code (This functions!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } if((newMode!=6)(m_mode!=6)){ m_mode=newMode; return; } // image to be displayed on dedication tab if(newMode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } // image to be displayed on any other tab if(m_mode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } }; = The 2011.0 branch contains the code (This crashes hugin!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } switch ( newMode ) { case 0 : // about tab wxString strFile = MacGetPathToBundledResourceFile(CFSTR(splash.png)); SetLogo(wxT(strFile)); break; case 6 : // dedication tab strFile = MacGetPathToBundledResourceFile(CFSTR(dedication.png)); SetLogo(wxT(strFile)); break; default : // all other tabs strFile = MacGetPathToBundledResourceFile(CFSTR(logo.png)); SetLogo(wxT(strFile)); } m_mode=newMode; return; }; = ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 733793] Re: About window crashes on OSX for 2011.0 beta versions
tried to initialize a couple of variables more. please try again with changeset 5109:3a274f80c25f or later -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/733793 Title: About window crashes on OSX for 2011.0 beta versions Status in Hugin - Panorama Tools GUI: Fix Committed Bug description: The aboutdialog.cpp crashes hugin in the 2011 branch. The aboutdialog in the trunk works correctly. This is due to the fact that the aboutdialog.cpp within the 2011.0 (beta) branch is different from the trunk one. I have already been fiddling with the code the past couple of days but I'm obviously an even worse programmer than I expected to be as I can't repair it. Can this please be fixed? The trunk contains the code (This functions!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } if((newMode!=6)(m_mode!=6)){ m_mode=newMode; return; } // image to be displayed on dedication tab if(newMode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } // image to be displayed on any other tab if(m_mode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } }; = The 2011.0 branch contains the code (This crashes hugin!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } switch ( newMode ) { case 0 : // about tab wxString strFile = MacGetPathToBundledResourceFile(CFSTR(splash.png)); SetLogo(wxT(strFile)); break; case 6 : // dedication tab strFile = MacGetPathToBundledResourceFile(CFSTR(dedication.png)); SetLogo(wxT(strFile)); break; default : // all other tabs strFile = MacGetPathToBundledResourceFile(CFSTR(logo.png)); SetLogo(wxT(strFile)); } m_mode=newMode; return; }; = ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 733793] Re: About window crashes on OSX for 2011.0 beta versions
There are changes from 2 changeset necessary to fix this crash: 038c0de240d6 and 0b204475079d. So it is not sufficient to only apply 0b204475079d to beta2, because 038c0de240d6 was pushed after beta2. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/733793 Title: About window crashes on OSX for 2011.0 beta versions Status in Hugin - Panorama Tools GUI: Fix Committed Bug description: The aboutdialog.cpp crashes hugin in the 2011 branch. The aboutdialog in the trunk works correctly. This is due to the fact that the aboutdialog.cpp within the 2011.0 (beta) branch is different from the trunk one. I have already been fiddling with the code the past couple of days but I'm obviously an even worse programmer than I expected to be as I can't repair it. Can this please be fixed? The trunk contains the code (This functions!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } if((newMode!=6)(m_mode!=6)){ m_mode=newMode; return; } // image to be displayed on dedication tab if(newMode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } // image to be displayed on any other tab if(m_mode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } }; = The 2011.0 branch contains the code (This crashes hugin!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } switch ( newMode ) { case 0 : // about tab wxString strFile = MacGetPathToBundledResourceFile(CFSTR(splash.png)); SetLogo(wxT(strFile)); break; case 6 : // dedication tab strFile = MacGetPathToBundledResourceFile(CFSTR(dedication.png)); SetLogo(wxT(strFile)); break; default : // all other tabs strFile = MacGetPathToBundledResourceFile(CFSTR(logo.png)); SetLogo(wxT(strFile)); } m_mode=newMode; return; }; = ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
Re: [Hugin-devs] [Bug 733793] Re: About window crashes on OSX for 2011.0 beta versions
Hi Yuv, 2011/3/13 Yuv 733...@bugs.launchpad.net tried to initialize a couple of variables more. please try again with changeset 5109:3a274f80c25f or later Your patch works, at least on OSX. thanks. Harry -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/733793 Title: About window crashes on OSX for 2011.0 beta versions Status in Hugin - Panorama Tools GUI: Fix Committed Bug description: The aboutdialog.cpp crashes hugin in the 2011 branch. The aboutdialog in the trunk works correctly. This is due to the fact that the aboutdialog.cpp within the 2011.0 (beta) branch is different from the trunk one. I have already been fiddling with the code the past couple of days but I'm obviously an even worse programmer than I expected to be as I can't repair it. Can this please be fixed? The trunk contains the code (This functions!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } if((newMode!=6)(m_mode!=6)){ m_mode=newMode; return; } // image to be displayed on dedication tab if(newMode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } // image to be displayed on any other tab if(m_mode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } }; = The 2011.0 branch contains the code (This crashes hugin!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } switch ( newMode ) { case 0 : // about tab wxString strFile = MacGetPathToBundledResourceFile(CFSTR(splash.png)); SetLogo(wxT(strFile)); break; case 6 : // dedication tab strFile = MacGetPathToBundledResourceFile(CFSTR(dedication.png)); SetLogo(wxT(strFile)); break; default : // all other tabs strFile = MacGetPathToBundledResourceFile(CFSTR(logo.png)); SetLogo(wxT(strFile)); } m_mode=newMode; return; }; = ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
Re: [Hugin-devs] [Bug 733793] Re: About window crashes on OSX for 2011.0 beta versions
2011/3/13 tmodes 733...@bugs.launchpad.net There are changes from 2 changeset necessary to fix this crash: 038c0de240d6 and 0b204475079d. So it is not sufficient to only apply 0b204475079d to beta2, because 038c0de240d6 was pushed after beta2. I applied both your an Yuv's patch and now it works. Harry -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/733793 Title: About window crashes on OSX for 2011.0 beta versions Status in Hugin - Panorama Tools GUI: Fix Committed Bug description: The aboutdialog.cpp crashes hugin in the 2011 branch. The aboutdialog in the trunk works correctly. This is due to the fact that the aboutdialog.cpp within the 2011.0 (beta) branch is different from the trunk one. I have already been fiddling with the code the past couple of days but I'm obviously an even worse programmer than I expected to be as I can't repair it. Can this please be fixed? The trunk contains the code (This functions!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } if((newMode!=6)(m_mode!=6)){ m_mode=newMode; return; } // image to be displayed on dedication tab if(newMode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } // image to be displayed on any other tab if(m_mode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } }; = The 2011.0 branch contains the code (This crashes hugin!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } switch ( newMode ) { case 0 : // about tab wxString strFile = MacGetPathToBundledResourceFile(CFSTR(splash.png)); SetLogo(wxT(strFile)); break; case 6 : // dedication tab strFile = MacGetPathToBundledResourceFile(CFSTR(dedication.png)); SetLogo(wxT(strFile)); break; default : // all other tabs strFile = MacGetPathToBundledResourceFile(CFSTR(logo.png)); SetLogo(wxT(strFile)); } m_mode=newMode; return; }; = ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 733793] Re: About window crashes on OSX for 2011.0 beta versions
And finally I committed the third patch where Thomas undid part of Yuv's patch. It still works fine on OSX. Thanks all. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/733793 Title: About window crashes on OSX for 2011.0 beta versions Status in Hugin - Panorama Tools GUI: Fix Committed Bug description: The aboutdialog.cpp crashes hugin in the 2011 branch. The aboutdialog in the trunk works correctly. This is due to the fact that the aboutdialog.cpp within the 2011.0 (beta) branch is different from the trunk one. I have already been fiddling with the code the past couple of days but I'm obviously an even worse programmer than I expected to be as I can't repair it. Can this please be fixed? The trunk contains the code (This functions!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } if((newMode!=6)(m_mode!=6)){ m_mode=newMode; return; } // image to be displayed on dedication tab if(newMode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } // image to be displayed on any other tab if(m_mode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } }; = The 2011.0 branch contains the code (This crashes hugin!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } switch ( newMode ) { case 0 : // about tab wxString strFile = MacGetPathToBundledResourceFile(CFSTR(splash.png)); SetLogo(wxT(strFile)); break; case 6 : // dedication tab strFile = MacGetPathToBundledResourceFile(CFSTR(dedication.png)); SetLogo(wxT(strFile)); break; default : // all other tabs strFile = MacGetPathToBundledResourceFile(CFSTR(logo.png)); SetLogo(wxT(strFile)); } m_mode=newMode; return; }; = ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 733793] Re: About window crashes on OSX for 2011.0 beta versions
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)); } m_mode=newMode; return; }; = -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/733793 Title: About window crashes on OSX for 2011.0 beta versions Status in Hugin - Panorama Tools GUI: New Bug description: The aboutdialog.cpp crashes hugin in the 2011 branch. The aboutdialog in the trunk works correctly. This is due to the fact that the aboutdialog.cpp within the 2011.0 (beta) branch is different from the trunk one. I have already been fiddling with the code the past couple of days but I'm obviously an even worse programmer than I expected to be as I can't repair it. Can this please be fixed? The trunk contains the code (This functions!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } if((newMode!=6)(m_mode!=6)){ m_mode=newMode; return; } // image to be displayed on dedication tab if(newMode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } // image to be displayed on any other tab if(m_mode==6){ m_logo.LoadFile(huginApp::Get()-GetXRCPath() + wxT(data/) + wxT(logo.png), wxBITMAP_TYPE_PNG); m_logoImgCtrl-SetBitmap(m_logo); m_mode=newMode; return; } }; = The 2011.0 branch contains the code (This crashes hugin!): = void AboutDialog::SetMode(int newMode) { if(m_mode==newMode){ return; } switch ( newMode ) { case 0 : // about tab wxString strFile = MacGetPathToBundledResourceFile(CFSTR(splash.png)); SetLogo(wxT(strFile)); break; case 6 : // dedication tab strFile = MacGetPathToBundledResourceFile(CFSTR(dedication.png)); SetLogo(wxT(strFile)); break; default : // all other tabs strFile = MacGetPathToBundledResourceFile(CFSTR(logo.png)); SetLogo(wxT(strFile)); } m_mode=newMode; return; }; = ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp