From 40c79fab3aa8246d4b0a63a493a4ee9857ed2e08 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 23 Mar 2003 18:02:05 +0000 Subject: [PATCH] use wxCLOSE_BOX for MyImageFrame git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/image/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/image/image.cpp b/samples/image/image.cpp index b0e8976aca..703ef304c4 100644 --- a/samples/image/image.cpp +++ b/samples/image/image.cpp @@ -145,7 +145,7 @@ public: MyImageFrame(wxFrame *parent, const wxBitmap& bitmap) : wxFrame(parent, -1, _T("Double click to save"), wxDefaultPosition, wxDefaultSize, - wxCAPTION | wxSYSTEM_MENU), + wxCAPTION | wxSYSTEM_MENU | wxCLOSE_BOX), m_bitmap(bitmap) { SetClientSize(bitmap.GetWidth(), bitmap.GetHeight()); -- 2.45.2