]> git.saurik.com Git - wxWidgets.git/blame - include/wx/univ/anybutton.h
wxDialogBase only has one ctor, so just do initialization in ctor instead of Init()
[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)
f4308cf5
DS
6// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_UNIV_ANYBUTTON_H_
11#define _WX_UNIV_ANYBUTTON_H_
12
13// ----------------------------------------------------------------------------
14// Common button functionality
15// ----------------------------------------------------------------------------
16
17class WXDLLIMPEXP_CORE wxAnyButton : public wxAnyButtonBase
18{
19public:
20 wxAnyButton() {}
21
6dd0883d 22 virtual ~wxAnyButton() {}
f4308cf5
DS
23
24protected:
25 // choose the default border for this window
26 virtual wxBorder GetDefaultBorder() const { return wxBORDER_STATIC; }
27
28private:
29 wxDECLARE_NO_COPY_CLASS(wxAnyButton);
30};
31
32#endif // _WX_UNIV_ANYBUTTON_H_