X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..9d529fa05c2bef6aa4ae9f08b39bb7c0a4fe5c59:/include/wx/mac/carbon/minifram.h diff --git a/include/wx/mac/carbon/minifram.h b/include/wx/mac/carbon/minifram.h index 7f43f953b3..6d00c918ec 100644 --- a/include/wx/mac/carbon/minifram.h +++ b/include/wx/mac/carbon/minifram.h @@ -14,10 +14,6 @@ #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: };