]> git.saurik.com Git - wxWidgets.git/blob - include/wx/univ/anybutton.h
Use wmain() if supported by the compiler/CRT instead of main().
[wxWidgets.git] / include / wx / univ / anybutton.h
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
18 class WXDLLIMPEXP_CORE wxAnyButton : public wxAnyButtonBase
19 {
20 public:
21 wxAnyButton() {}
22
23 virtual ~wxAnyButton() {}
24
25 protected:
26 // choose the default border for this window
27 virtual wxBorder GetDefaultBorder() const { return wxBORDER_STATIC; }
28
29 private:
30 wxDECLARE_NO_COPY_CLASS(wxAnyButton);
31 };
32
33 #endif // _WX_UNIV_ANYBUTTON_H_