for built-in dialogs, there is no m_peer instance, and still we might have a Refresh call issued, just leave
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1896,6 +1896,9 @@ void wxWindowMac::GetTextExtent(const wxString& string, int *x, int *y,
|
||||
|
||||
void wxWindowMac::Refresh(bool eraseBack, const wxRect *rect)
|
||||
{
|
||||
if ( m_peer == NULL )
|
||||
return ;
|
||||
|
||||
#if TARGET_API_MAC_OSX
|
||||
if ( rect == NULL )
|
||||
m_peer->SetNeedsDisplay( true ) ;
|
||||
|
Reference in New Issue
Block a user