anybutton.h 1012 B

1234567891011121314151617181920212223242526272829303132
  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. // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
  7. // Licence: wxWindows licence
  8. /////////////////////////////////////////////////////////////////////////////
  9. #ifndef _WX_UNIV_ANYBUTTON_H_
  10. #define _WX_UNIV_ANYBUTTON_H_
  11. // ----------------------------------------------------------------------------
  12. // Common button functionality
  13. // ----------------------------------------------------------------------------
  14. class WXDLLIMPEXP_CORE wxAnyButton : public wxAnyButtonBase
  15. {
  16. public:
  17. wxAnyButton() {}
  18. virtual ~wxAnyButton() {}
  19. protected:
  20. // choose the default border for this window
  21. virtual wxBorder GetDefaultBorder() const { return wxBORDER_STATIC; }
  22. private:
  23. wxDECLARE_NO_COPY_CLASS(wxAnyButton);
  24. };
  25. #endif // _WX_UNIV_ANYBUTTON_H_