list ctrl and tree ctrl didn't like the new focus code,
mem clean uop crash fixed. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2147,7 +2147,10 @@ wxWindow::~wxWindow()
|
||||
|
||||
if (m_widgetStyle)
|
||||
{
|
||||
gtk_style_unref( m_widgetStyle );
|
||||
// don't delete if it's a pixmap theme style
|
||||
if (!m_widgetStyle->engine_data)
|
||||
gtk_style_unref( m_widgetStyle );
|
||||
|
||||
m_widgetStyle = (GtkStyle*) NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user