X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..194027acb360e71d5c378db3eb08d63e01e164d0:/include/wx/mac/carbon/minifram.h diff --git a/include/wx/mac/carbon/minifram.h b/include/wx/mac/carbon/minifram.h index 7f41821ce1..6d00c918ec 100644 --- a/include/wx/mac/carbon/minifram.h +++ b/include/wx/mac/carbon/minifram.h @@ -8,16 +8,12 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_MINIFRAM_H_ #define _WX_MINIFRAM_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "minifram.h" -#endif - #include "wx/frame.h" class WXDLLEXPORT wxMiniFrame: public wxFrame { @@ -31,14 +27,14 @@ public: const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxDEFAULT_FRAME_STYLE|wxTINY_CAPTION_HORIZ, + long style = wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ, const wxString& name = wxFrameNameStr) { // Use wxFrame constructor in absence of more specific code. Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT , name); } - ~wxMiniFrame() {} + virtual ~wxMiniFrame() {} protected: };