win
);
- GdkWindow* window = win->GTKGetDrawingWindow();
- if (window == NULL)
- window = w->window;
+ GdkWindow* window = w->window;
+ if (w == win->m_wxwindow)
+ window = win->GTKGetDrawingWindow();
gdk_window_freeze_updates(window);
}
return;
}
- GdkWindow* window = GTKGetDrawingWindow();
- if (window == NULL)
- window = w->window;
+ GdkWindow* window = w->window;
+ if (w == m_wxwindow)
+ window = GTKGetDrawingWindow();
gdk_window_freeze_updates(window);
}
return;
}
- GdkWindow* window = GTKGetDrawingWindow();
- if (window == NULL)
- window = w->window;
+ GdkWindow* window = w->window;
+ if (w == m_wxwindow)
+ window = GTKGetDrawingWindow();
gdk_window_thaw_updates(window);
}