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:
committed by
Paul Cornett
parent
d6403135e3
commit
adf521dea2
@@ -3001,6 +3001,9 @@ void wxWindowGTK::DoGetClientSize( int *width, int *height ) const
|
|||||||
// nor for the ones we have but don't current show
|
// nor for the ones we have but don't current show
|
||||||
switch ( policy[i] )
|
switch ( policy[i] )
|
||||||
{
|
{
|
||||||
|
#if GTK_CHECK_VERSION(3,16,0)
|
||||||
|
case GTK_POLICY_EXTERNAL:
|
||||||
|
#endif
|
||||||
case GTK_POLICY_NEVER:
|
case GTK_POLICY_NEVER:
|
||||||
// never shown so doesn't take any place
|
// never shown so doesn't take any place
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user