1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
%module{Wx};
/////////////////////////////////////////////////////////////////////////////
// Name: wx/commandlinkbutton.h
// Purpose: interface of wxCommandLinkButton
// Author: wxWidgets team
// SVN-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if WXPERL_W_VERSION_GE( 2, 9, 2 )
#include <wx/commandlinkbutton.h>
%loadplugin{build::Wx::XSP::Overload};
%name{Wx::CommandLinkButton} class wxCommandLinkButton : public %name{Wx::Button} wxButton
{
public:
%name{newDefault} wxCommandLinkButton() %Overload
%postcall{% wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); %};
%name{newFull} wxCommandLinkButton(wxWindow* parent, wxWindowID id,
const wxString& mainLabel = wxEmptyString,
const wxString& note = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxValidator& validator = wxDefaultValidatorPtr,
const wxString& name = wxButtonNameStr) %Overload
%postcall{% wxPli_create_evthandler( aTHX_ RETVAL, CLASS ); %};
bool Create(wxWindow* parent, wxWindowID id,
const wxString& mainLabel = wxEmptyString,
const wxString& note = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxValidator& validator = wxDefaultValidatorPtr,
const wxString& name = wxButtonNameStr);
void SetMainLabelAndNote(const wxString& mainLabel, const wxString& note);
virtual void SetLabel(const wxString& label);
wxString GetLabel() const;
void SetMainLabel(const wxString& mainLabel);
void SetNote(const wxString& note);
wxString GetMainLabel() const;
wxString GetNote() const;
};
#endif
|