guarding against null nowpeer in cases like native font or color dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
09219654cd
commit
cd0d451b08
@ -148,6 +148,7 @@ wxPoint wxTopLevelWindowMac::GetClientAreaOrigin() const
|
||||
void wxTopLevelWindowMac::SetTitle(const wxString& title)
|
||||
{
|
||||
wxWindow::SetLabel( title ) ;
|
||||
if ( m_nowpeer )
|
||||
m_nowpeer->SetTitle(title, GetFont().GetEncoding() );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user