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.
This commit is contained in:
Vadim Zeitlin 2015-08-03 17:45:35 +02:00
parent 0bb45d7387
commit 2509e7927a

View File

@ -3055,6 +3055,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;