X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20123d495814b8b8543bf43fbd63aa7ec21e5d78..fe8b03618ae0a511bf76e85565b3d43b68e99cd5:/include/wx/gtk/minifram.h diff --git a/include/wx/gtk/minifram.h b/include/wx/gtk/minifram.h index df4f6a8790..7d925b40a3 100644 --- a/include/wx/gtk/minifram.h +++ b/include/wx/gtk/minifram.h @@ -10,22 +10,19 @@ #ifndef __GTKMINIFRAMEH__ #define __GTKMINIFRAMEH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_MINIFRAME #include "wx/object.h" +#include "wx/bitmap.h" #include "wx/frame.h" //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxMiniFrame; +class WXDLLIMPEXP_FWD_CORE wxMiniFrame; //----------------------------------------------------------------------------- // wxMiniFrame @@ -42,7 +39,7 @@ 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, const wxString& name = wxFrameNameStr) { Create(parent, id, title, pos, size, style, name); @@ -53,7 +50,7 @@ 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, const wxString& name = wxFrameNameStr); virtual void SetTitle( const wxString &title ); @@ -62,6 +59,7 @@ public: bool m_isDragging; int m_oldX,m_oldY; int m_diffX,m_diffY; + wxBitmap m_closeButton; }; #endif