Should send "closed" event when native window is closed.

This commit is contained in:
Cheng Zhao 2014-04-23 10:24:46 +08:00
parent 8417f158b4
commit 1cb23a958c
5 changed files with 8 additions and 6 deletions

View file

@ -132,6 +132,7 @@ void NativeWindowGtk::Close() {
}
void NativeWindowGtk::CloseImmediately() {
NotifyWindowClosed();
gtk_widget_destroy(GTK_WIDGET(window_));
window_ = NULL;
}