Minor change in case m_log is null
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -965,7 +965,8 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
 | 
			
		||||
void MyPanel::OnSize( wxSizeEvent &event )
 | 
			
		||||
{
 | 
			
		||||
    wxSize client_area( GetClientSize() );
 | 
			
		||||
    m_log->SetSize( 0, 260, client_area.x, client_area.y - 260 );
 | 
			
		||||
    if (m_log)
 | 
			
		||||
      m_log->SetSize( 0, 260, client_area.x, client_area.y - 260 );
 | 
			
		||||
    event.Skip();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user