Suppress warning from wxMiniFrame.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2006-08-24 10:01:40 +00:00
parent c4d3971185
commit c67e060d09

View File

@ -317,7 +317,8 @@ void wxMiniFrame::SetTitle( const wxString &title )
{
wxFrame::SetTitle( title );
gdk_window_invalidate_rect( GTK_PIZZA(m_mainWidget)->bin_window, NULL, true );
if (GTK_PIZZA(m_mainWidget)->bin_window)
gdk_window_invalidate_rect( GTK_PIZZA(m_mainWidget)->bin_window, NULL, true );
}
#endif // wxUSE_MINIFRAME