From f42d2de98831b423a4e7fc019b5772d41a942395 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Tue, 14 Jul 2020 09:58:04 -0400 Subject: [PATCH 1/2] Update wxWidgets commit for wxPG GetExtraStyle() fix --- ext/wxWidgets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/wxWidgets b/ext/wxWidgets index 4c028843..cde033df 160000 --- a/ext/wxWidgets +++ b/ext/wxWidgets @@ -1 +1 @@ -Subproject commit 4c0288435bc089934aa291408c6f952dde34217f +Subproject commit cde033df8dae0ac565c500faca554baf082c72ec From 3a7748db47a6faeda821962039e5ccb4bc859964 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Tue, 14 Jul 2020 09:59:20 -0400 Subject: [PATCH 2/2] PG Demo: OR the "help as tooltips" flag instead of setting This fixes an issue on GTK3 platforms with HiDPI screens. When using SetExtraStyle(), all of the existing flags, including native double buffering, were being cleared. GTK3 currently has issues when native double buffering is disabled, so this ensures that the existing default flags aren't overwritten. --- demo/PropertyGrid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/PropertyGrid.py b/demo/PropertyGrid.py index 3d9265e4..784b138e 100644 --- a/demo/PropertyGrid.py +++ b/demo/PropertyGrid.py @@ -678,7 +678,7 @@ class TestPanel( wx.Panel ): wxpg.PG_TOOLBAR) # Show help as tooltips - pg.SetExtraStyle(wxpg.PG_EX_HELP_AS_TOOLTIPS) + pg.ExtraStyle |= wxpg.PG_EX_HELP_AS_TOOLTIPS pg.Bind( wxpg.EVT_PG_CHANGED, self.OnPropGridChange ) pg.Bind( wxpg.EVT_PG_PAGE_CHANGED, self.OnPropGridPageChange )