summaryrefslogtreecommitdiffstats
path: root/app/win/window_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/win/window_impl.h')
-rw-r--r--app/win/window_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/win/window_impl.h b/app/win/window_impl.h
index fb5d512..dd7ef5a 100644
--- a/app/win/window_impl.h
+++ b/app/win/window_impl.h
@@ -87,6 +87,10 @@ class WindowImpl : public MessageMapInterface {
// If necessary, this registers the window class.
std::wstring GetWindowClassName();
+ // Called when the HWND gets a WM_DESTROY message; should cause us to clean
+ // up any state.
+ void OnDestroy();
+
// All classes registered by WidgetWin start with this name.
static const wchar_t* const kBaseClassName;