Compare window size size with scaled buffer size
This commit is contained in:
@@ -4674,8 +4674,8 @@ void wxPropertyGrid::OnResize( wxSizeEvent& event )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int w = m_doubleBuffer->GetWidth();
|
int w = m_doubleBuffer->GetScaledWidth();
|
||||||
int h = m_doubleBuffer->GetHeight();
|
int h = m_doubleBuffer->GetScaledHeight();
|
||||||
|
|
||||||
// Double buffer must be large enough
|
// Double buffer must be large enough
|
||||||
if ( w < width || h < (height+dblh) )
|
if ( w < width || h < (height+dblh) )
|
||||||
|
Reference in New Issue
Block a user