]>
Commit | Line | Data |
---|---|---|
0e320a79 | 1 | ///////////////////////////////////////////////////////////////////////////// |
80fdcdb9 | 2 | // Name: wx/os2/minifram.h |
0e320a79 DW |
3 | // Purpose: wxMiniFrame class. A small frame for e.g. floating toolbars. |
4 | // If there is no equivalent on your platform, just make it a | |
5 | // normal frame. | |
75f11ad7 | 6 | // Author: David Webster |
0e320a79 | 7 | // Modified by: |
75f11ad7 | 8 | // Created: 10/10/99 |
75f11ad7 | 9 | // Copyright: (c) David Webster |
65571936 | 10 | // Licence: wxWindows licence |
0e320a79 DW |
11 | ///////////////////////////////////////////////////////////////////////////// |
12 | ||
13 | #ifndef _WX_MINIFRAM_H_ | |
14 | #define _WX_MINIFRAM_H_ | |
15 | ||
0e320a79 DW |
16 | #include "wx/frame.h" |
17 | ||
53a2db12 | 18 | class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame { |
0e320a79 DW |
19 | |
20 | DECLARE_DYNAMIC_CLASS(wxMiniFrame) | |
21 | ||
22 | public: | |
75f11ad7 | 23 | inline wxMiniFrame(void) {} |
0e320a79 DW |
24 | inline wxMiniFrame(wxWindow *parent, |
25 | wxWindowID id, | |
26 | const wxString& title, | |
27 | const wxPoint& pos = wxDefaultPosition, | |
28 | const wxSize& size = wxDefaultSize, | |
75f11ad7 | 29 | long style = wxDEFAULT_FRAME_STYLE, |
0e320a79 DW |
30 | const wxString& name = wxFrameNameStr) |
31 | { | |
75f11ad7 | 32 | Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT, name); |
0e320a79 DW |
33 | } |
34 | ||
0e320a79 DW |
35 | protected: |
36 | }; | |
37 | ||
38 | #endif | |
39 | // _WX_MINIFRAM_H_ | |
75f11ad7 | 40 |