equal
deleted
inserted
replaced
1091 } |
1091 } |
1092 |
1092 |
1093 ~QueryStringWindow() |
1093 ~QueryStringWindow() |
1094 { |
1094 { |
1095 if (!this->handled && this->parent != NULL) { |
1095 if (!this->handled && this->parent != NULL) { |
1096 this->handled = true; |
1096 Window *parent = this->parent; |
1097 this->parent->OnQueryTextFinished(NULL); |
1097 this->parent = NULL; // so parent doesn't try to delete us again |
|
1098 parent->OnQueryTextFinished(NULL); |
1098 } |
1099 } |
1099 ClrBit(_no_scroll, SCROLL_EDIT); |
1100 ClrBit(_no_scroll, SCROLL_EDIT); |
1100 } |
1101 } |
1101 }; |
1102 }; |
1102 |
1103 |