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:
parent
c4d3971185
commit
c67e060d09
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user