]> git.saurik.com Git - wxWidgets.git/blame - include/wx/univ/anybutton.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / univ / anybutton.h
CommitLineData
f4308cf5
DS
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/univ/anybutton.h
3// Purpose: wxAnyButton class
4// Author: Vadim Zeitlin
5// Created: 2000-08-15 (extracted from button.h)
6// RCS-ID: $Id$
7// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_UNIV_ANYBUTTON_H_
12#define _WX_UNIV_ANYBUTTON_H_
13
14// ----------------------------------------------------------------------------
15// Common button functionality
16// ----------------------------------------------------------------------------
17
18class WXDLLIMPEXP_CORE wxAnyButton : public wxAnyButtonBase
19{
20public:
21 wxAnyButton() {}
22
6dd0883d 23 virtual ~wxAnyButton() {}
f4308cf5
DS
24
25protected:
26 // choose the default border for this window
27 virtual wxBorder GetDefaultBorder() const { return wxBORDER_STATIC; }
28
29private:
30 wxDECLARE_NO_COPY_CLASS(wxAnyButton);
31};
32
33#endif // _WX_UNIV_ANYBUTTON_H_