Fixed: assertions on Linux when building with wxAuiNotebook (freeze / count assertions from GTK)