Handle GTK_POLICY_EXTERNAL new in GTK+ 3.16 too.

Apparently this still doesn't display any scrollbars in the window itself, so
from our point of view it is equivalent to GTK_POLICY_NEVER.

(cherry picked from commit 2509e7927a)
This commit is contained in:
Vadim Zeitlin
2015-08-03 17:45:35 +02:00
committed by Paul Cornett
parent d6403135e3
commit adf521dea2

View File

@@ -3001,6 +3001,9 @@ void wxWindowGTK::DoGetClientSize( int *width, int *height ) const
// nor for the ones we have but don't current show
switch ( policy[i] )
{
#if GTK_CHECK_VERSION(3,16,0)
case GTK_POLICY_EXTERNAL:
#endif
case GTK_POLICY_NEVER:
// never shown so doesn't take any place
continue;