Some kind of issue closing tabs!

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
callmebob
In need of some credit
In need of some credit
Posts: 2
Joined: Wed Jul 12, 2017 11:14 am

Some kind of issue closing tabs!

Post by callmebob »

I'm using GTK with g++ version 4.9.2 on Debian 8. I'm still learning the ins and outs of wxWidgets, so there's every chance that I'm doing something wrong. Anyway, I decided to try out the AuiNotebook functionality for closing tabs. When I close a tab, I this message outputs to the terminal:
gtk-xfce-engine-CRITICAL **: draw_box: assertion 'width >= -1' failed
I thought that it was just me doing it wrong, so I scoured the web for an AuiNotebook example. I found this guy's here and compiled his example. When I close his tabs, I still get the same error message!

Am I doing something wrong here? If not, is it something that I should worry about? It doesn't seem to crash applications.
callmebob
In need of some credit
In need of some credit
Posts: 2
Joined: Wed Jul 12, 2017 11:14 am

Re: Some kind of issue closing tabs!

Post by callmebob »

Btw, I'm using wxwidgets 3.0 (libwxgtk3.0-0) it that helps.
DavidHart
Site Admin
Site Admin
Posts: 4254
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: Some kind of issue closing tabs!

Post by DavidHart »

Hi,

wxWidgets wraps the native toolkit on each platform; for Linux that's (usually) gtk+. It's not unusual to get complaining messages from gtk, or in your case the Xfce theme engine. It doesn't usually signal a problem with user code.

Does everything seem to work OK? If so, I should just ignore the warnings.

Regards,

David
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7477
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Some kind of issue closing tabs!

Post by ONEEYEMAN »

Also, check that the auidemo sample works OK for you.

Thank you.
Post Reply