X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..f114b8580b980c54e7b6194fe6494a86cb833907:/include/wx/mac/minifram.h diff --git a/include/wx/mac/minifram.h b/include/wx/mac/minifram.h index 8f1644d558..08e145ba32 100644 --- a/include/wx/mac/minifram.h +++ b/include/wx/mac/minifram.h @@ -14,7 +14,7 @@ #ifndef _WX_MINIFRAM_H_ #define _WX_MINIFRAM_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "minifram.h" #endif @@ -35,7 +35,7 @@ public: const wxString& name = wxFrameNameStr) { // Use wxFrame constructor in absence of more specific code. - Create(parent, id, title, pos, size, style, name); + Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT , name); } ~wxMiniFrame() {}