]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/minifram.h
added wxConvFileName which is a variable, not define as wxConvFile; added comments...
[wxWidgets.git] / include / wx / msw / minifram.h
CommitLineData
2bda0e17 1/////////////////////////////////////////////////////////////////////////////
3ca6a5f0 2// Name: wx/msw/minifram.h
2bda0e17
KB
3// Purpose: wxMiniFrame class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
bbcdf8bc 8// Copyright: (c) Julian Smart
65571936 9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
bbcdf8bc
JS
12#ifndef _WX_MINIFRAM_H_
13#define _WX_MINIFRAM_H_
2bda0e17 14
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
2bda0e17
KB
16#pragma interface "minifram.h"
17#endif
18
19#include "wx/frame.h"
20
3ca6a5f0
BP
21class WXDLLEXPORT wxMiniFrame : public wxFrame
22{
7309b92d 23public:
3ca6a5f0 24 wxMiniFrame() { }
376ccc45
VZ
25
26 bool Create(wxWindow *parent,
3ca6a5f0
BP
27 wxWindowID id,
28 const wxString& title,
29 const wxPoint& pos = wxDefaultPosition,
30 const wxSize& size = wxDefaultSize,
31 long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
32 const wxString& name = wxFrameNameStr)
7309b92d 33 {
1d6a4324
VZ
34 return wxFrame::Create(parent, id, title, pos, size,
35 style |
36 wxFRAME_TOOL_WINDOW |
37 (parent ? wxFRAME_FLOAT_ON_PARENT : 0), name);
7309b92d
VS
38 }
39
3ca6a5f0
BP
40 wxMiniFrame(wxWindow *parent,
41 wxWindowID id,
42 const wxString& title,
43 const wxPoint& pos = wxDefaultPosition,
44 const wxSize& size = wxDefaultSize,
376ccc45 45 long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
3ca6a5f0 46 const wxString& name = wxFrameNameStr)
2bda0e17
KB
47 {
48 Create(parent, id, title, pos, size, style, name);
49 }
50
376ccc45 51protected:
2eb10e2a 52 DECLARE_DYNAMIC_CLASS_NO_COPY(wxMiniFrame)
2bda0e17
KB
53};
54
55#endif
bbcdf8bc 56 // _WX_MINIFRAM_H_