2014-08-23 21:50:11 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/qt/button.h
|
|
|
|
// Author: Peter Most, Mariano Reingart
|
|
|
|
// Copyright: (c) 2010 wxWidgets dev team
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_QT_BUTTON_H_
|
|
|
|
#define _WX_QT_BUTTON_H_
|
|
|
|
|
|
|
|
#include "wx/control.h"
|
|
|
|
#include "wx/button.h"
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_CORE wxButton : public wxButtonBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxButton();
|
|
|
|
wxButton(wxWindow *parent, wxWindowID id,
|
|
|
|
const wxString& label = wxEmptyString,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize, long style = 0,
|
|
|
|
const wxValidator& validator = wxDefaultValidator,
|
|
|
|
const wxString& name = wxButtonNameStr);
|
|
|
|
|
|
|
|
bool Create(wxWindow *parent, wxWindowID id,
|
|
|
|
const wxString& label = wxEmptyString,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize, long style = 0,
|
|
|
|
const wxValidator& validator = wxDefaultValidator,
|
|
|
|
const wxString& name = wxButtonNameStr);
|
|
|
|
|
2019-04-05 14:08:53 -04:00
|
|
|
virtual wxWindow *SetDefault() wxOVERRIDE;
|
2014-08-23 21:50:11 -04:00
|
|
|
|
2019-02-12 18:23:20 -05:00
|
|
|
// implementation only
|
|
|
|
virtual int GetEventType() const wxOVERRIDE { return wxEVT_BUTTON; }
|
|
|
|
|
2014-08-23 21:50:11 -04:00
|
|
|
private:
|
|
|
|
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxButton);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _WX_QT_BUTTON_H_
|