use wxCLOSE_BOX for MyImageFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user