2004-10-19 09:40:30 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/palmos/minifram.h
|
|
|
|
// Purpose: wxMiniFrame class
|
2005-01-18 16:14:27 -05:00
|
|
|
// Author: William Osborne - minimal working wxPalmOS port
|
2004-10-19 09:40:30 -04:00
|
|
|
// Modified by:
|
|
|
|
// Created: 10/13/04
|
2005-01-18 16:14:27 -05:00
|
|
|
// RCS-ID: $Id$
|
2004-10-19 09:40:30 -04:00
|
|
|
// Copyright: (c) William Osborne
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_MINIFRAM_H_
|
|
|
|
#define _WX_MINIFRAM_H_
|
|
|
|
|
|
|
|
#include "wx/frame.h"
|
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxMiniFrame : public wxFrame
|
2004-10-19 09:40:30 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxMiniFrame() { }
|
|
|
|
|
|
|
|
bool Create(wxWindow *parent,
|
|
|
|
wxWindowID id,
|
|
|
|
const wxString& title,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
|
|
|
|
const wxString& name = wxFrameNameStr)
|
|
|
|
{
|
|
|
|
return wxFrame::Create(parent, id, title, pos, size,
|
|
|
|
style |
|
|
|
|
wxFRAME_TOOL_WINDOW |
|
|
|
|
(parent ? wxFRAME_FLOAT_ON_PARENT : 0), name);
|
|
|
|
}
|
|
|
|
|
|
|
|
wxMiniFrame(wxWindow *parent,
|
|
|
|
wxWindowID id,
|
|
|
|
const wxString& title,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
|
|
|
|
const wxString& name = wxFrameNameStr)
|
|
|
|
{
|
|
|
|
Create(parent, id, title, pos, size, style, name);
|
|
|
|
}
|
|
|
|
|
|
|
|
protected:
|
|
|
|
DECLARE_DYNAMIC_CLASS_NO_COPY(wxMiniFrame)
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// _WX_MINIFRAM_H_
|