]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/minifram.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / os2 / minifram.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/os2/minifram.h
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.
6 // Author: David Webster
7 // Modified by:
8 // Created: 10/10/99
9 // Copyright: (c) David Webster
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
12
13 #ifndef _WX_MINIFRAM_H_
14 #define _WX_MINIFRAM_H_
15
16 #include "wx/frame.h"
17
18 class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame {
19
20 DECLARE_DYNAMIC_CLASS(wxMiniFrame)
21
22 public:
23 inline wxMiniFrame(void) {}
24 inline wxMiniFrame(wxWindow *parent,
25 wxWindowID id,
26 const wxString& title,
27 const wxPoint& pos = wxDefaultPosition,
28 const wxSize& size = wxDefaultSize,
29 long style = wxDEFAULT_FRAME_STYLE,
30 const wxString& name = wxFrameNameStr)
31 {
32 Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT, name);
33 }
34
35 protected:
36 };
37
38 #endif
39 // _WX_MINIFRAM_H_
40