X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca5e9f677ade66873a9abb63cffa8ad769fa5da1..a95e38c03464c854af73b960b17db12624bd8f8c:/include/wx/msw/minifram.h?ds=sidebyside diff --git a/include/wx/msw/minifram.h b/include/wx/msw/minifram.h index 97ba03c69a..9d1b228aac 100644 --- a/include/wx/msw/minifram.h +++ b/include/wx/msw/minifram.h @@ -18,6 +18,31 @@ #include "wx/frame.h" +#ifdef __WIN32__ + +class WXDLLEXPORT wxMiniFrame: public wxFrame { + + DECLARE_DYNAMIC_CLASS(wxMiniFrame) + +public: + inline wxMiniFrame(void) {} + inline wxMiniFrame(wxWindow *parent, + wxWindowID id, + const wxString& title, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxDEFAULT_FRAME_STYLE, + const wxString& name = wxFrameNameStr) + { + Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT, name); + } + +protected: +}; + + +#else + class WXDLLEXPORT wxMiniFrame: public wxFrame { DECLARE_DYNAMIC_CLASS(wxMiniFrame) @@ -42,5 +67,8 @@ public: protected: }; +#endif + + #endif // _WX_MINIFRAM_H_