]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/minifram.h
Sorry, should be a __UNIX__ test
[wxWidgets.git] / include / wx / motif / minifram.h
CommitLineData
9b6dbb09
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: 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: Julian Smart
7// Modified by:
8// Created: 17/09/98
9// RCS-ID: $Id$
10// Copyright: (c) Julian Smart
65571936 11// Licence: wxWindows licence
9b6dbb09
JS
12/////////////////////////////////////////////////////////////////////////////
13
14#ifndef _WX_MINIFRAM_H_
15#define _WX_MINIFRAM_H_
16
12028905 17#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
9b6dbb09
JS
18#pragma interface "minifram.h"
19#endif
20
21#include "wx/frame.h"
22
23class WXDLLEXPORT wxMiniFrame: public wxFrame {
83df96d6
JS
24
25 DECLARE_DYNAMIC_CLASS(wxMiniFrame)
26
9b6dbb09 27public:
83df96d6
JS
28 inline wxMiniFrame() {}
29 inline wxMiniFrame(wxWindow *parent,
30 wxWindowID id,
31 const wxString& title,
32 const wxPoint& pos = wxDefaultPosition,
33 const wxSize& size = wxDefaultSize,
34 long style = wxDEFAULT_FRAME_STYLE|wxTINY_CAPTION_HORIZ,
35 const wxString& name = wxFrameNameStr)
36 {
37 // Use wxFrame constructor in absence of more specific code.
38 Create(parent, id, title, pos, size, style, name);
39 }
40
41 ~wxMiniFrame() {}
9b6dbb09
JS
42protected:
43};
44
45#endif
83df96d6 46// _WX_MINIFRAM_H_