bmpbuttn.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/gtk/bmpbutton.h
  3. // Purpose:
  4. // Author: Robert Roebling
  5. // Copyright: (c) 1998 Robert Roebling
  6. // Licence: wxWindows licence
  7. /////////////////////////////////////////////////////////////////////////////
  8. #ifndef _WX_GTK_BMPBUTTON_H_
  9. #define _WX_GTK_BMPBUTTON_H_
  10. // ----------------------------------------------------------------------------
  11. // wxBitmapButton
  12. // ----------------------------------------------------------------------------
  13. class WXDLLIMPEXP_CORE wxBitmapButton : public wxBitmapButtonBase
  14. {
  15. public:
  16. wxBitmapButton() { }
  17. wxBitmapButton(wxWindow *parent,
  18. wxWindowID id,
  19. const wxBitmap& bitmap,
  20. const wxPoint& pos = wxDefaultPosition,
  21. const wxSize& size = wxDefaultSize,
  22. long style = 0,
  23. const wxValidator& validator = wxDefaultValidator,
  24. const wxString& name = wxButtonNameStr)
  25. {
  26. Create(parent, id, bitmap, pos, size, style, validator, name);
  27. }
  28. bool Create(wxWindow *parent,
  29. wxWindowID id,
  30. const wxBitmap& bitmap,
  31. const wxPoint& pos = wxDefaultPosition,
  32. const wxSize& size = wxDefaultSize,
  33. long style = 0,
  34. const wxValidator& validator = wxDefaultValidator,
  35. const wxString& name = wxButtonNameStr);
  36. private:
  37. DECLARE_DYNAMIC_CLASS(wxBitmapButton)
  38. };
  39. #endif // _WX_GTK_BMPBUTTON_H_