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