X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..bf95a04f16759468ee7af83a7a78019399c648bb:/include/wx/mac/minifram.h?ds=sidebyside diff --git a/include/wx/mac/minifram.h b/include/wx/mac/minifram.h index 8f1644d558..6f606cd82f 100644 --- a/include/wx/mac/minifram.h +++ b/include/wx/mac/minifram.h @@ -3,18 +3,18 @@ // Purpose: wxMiniFrame class. A small frame for e.g. floating toolbars. // If there is no equivalent on your platform, just make it a // normal frame. -// Author: AUTHOR +// Author: Stefan Csomor // Modified by: -// Created: ??/??/98 +// Created: 1998-01-01 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR -// Licence: wxWindows licence +// Copyright: (c) Stefan Csomor +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #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() {}