]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: minifram.h | |
3 | // Purpose: wxMiniFrame class | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 01/02/97 | |
7 | // RCS-ID: $Id$ | |
bbcdf8bc JS |
8 | // Copyright: (c) Julian Smart |
9 | // Licence: wxWindows licence | |
2bda0e17 KB |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
bbcdf8bc JS |
12 | #ifndef _WX_MINIFRAM_H_ |
13 | #define _WX_MINIFRAM_H_ | |
2bda0e17 KB |
14 | |
15 | #ifdef __GNUG__ | |
16 | #pragma interface "minifram.h" | |
17 | #endif | |
18 | ||
19 | #include "wx/frame.h" | |
20 | ||
21 | class WXDLLEXPORT wxMiniFrame: public wxFrame { | |
22 | ||
23 | DECLARE_DYNAMIC_CLASS(wxMiniFrame) | |
24 | ||
25 | public: | |
26 | inline wxMiniFrame(void) {} | |
27 | inline wxMiniFrame(wxWindow *parent, | |
debe6624 | 28 | wxWindowID id, |
2bda0e17 KB |
29 | const wxString& title, |
30 | const wxPoint& pos = wxDefaultPosition, | |
31 | const wxSize& size = wxDefaultSize, | |
ca5e9f67 | 32 | long style = wxDEFAULT_FRAME_STYLE|wxTINY_CAPTION_HORIZ, |
2bda0e17 KB |
33 | const wxString& name = wxFrameNameStr) |
34 | { | |
35 | Create(parent, id, title, pos, size, style, name); | |
36 | } | |
37 | ||
38 | ~wxMiniFrame(void); | |
39 | ||
40 | long MSWDefWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); | |
41 | ||
42 | protected: | |
43 | }; | |
44 | ||
45 | #endif | |
bbcdf8bc | 46 | // _WX_MINIFRAM_H_ |