]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/minifram.h
Replace wxTINY_CAPTION_{HORIZ,VERT} with a single wxTINY_CAPTION.
[wxWidgets.git] / include / wx / motif / minifram.h
CommitLineData
9b6dbb09 1/////////////////////////////////////////////////////////////////////////////
925f7740 2// Name: wx/motif/minifram.h
9b6dbb09
JS
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
925f7740 11// Licence: wxWindows licence
9b6dbb09
JS
12/////////////////////////////////////////////////////////////////////////////
13
14#ifndef _WX_MINIFRAM_H_
15#define _WX_MINIFRAM_H_
16
9b6dbb09
JS
17#include "wx/frame.h"
18
53a2db12 19class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame {
925f7740 20
83df96d6 21 DECLARE_DYNAMIC_CLASS(wxMiniFrame)
925f7740 22
9b6dbb09 23public:
83df96d6
JS
24 inline wxMiniFrame() {}
25 inline wxMiniFrame(wxWindow *parent,
26 wxWindowID id,
27 const wxString& title,
28 const wxPoint& pos = wxDefaultPosition,
29 const wxSize& size = wxDefaultSize,
7282b067 30 long style = wxDEFAULT_FRAME_STYLE|wxTINY_CAPTION,
83df96d6
JS
31 const wxString& name = wxFrameNameStr)
32 {
33 // Use wxFrame constructor in absence of more specific code.
34 Create(parent, id, title, pos, size, style, name);
35 }
925f7740 36
d3c7fc99 37 virtual ~wxMiniFrame() {}
9b6dbb09
JS
38protected:
39};
40
41#endif
83df96d6 42// _WX_MINIFRAM_H_