Change wxBitmap to wxBitmapBundle in wxBitmapToggleButton
This commit is contained in:
parent
b2629a97e5
commit
85becc9362
9 changed files with 17 additions and 17 deletions
|
|
@ -12,7 +12,7 @@
|
|||
#ifndef _WX_GTK_TOGGLEBUTTON_H_
|
||||
#define _WX_GTK_TOGGLEBUTTON_H_
|
||||
|
||||
#include "wx/bitmap.h"
|
||||
#include "wx/bmpbndl.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxToggleButton
|
||||
|
|
@ -85,7 +85,7 @@ public:
|
|||
wxBitmapToggleButton() {}
|
||||
wxBitmapToggleButton(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxBitmap& label,
|
||||
const wxBitmapBundle& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
|
|
@ -98,7 +98,7 @@ public:
|
|||
// Create the control
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxBitmap& label,
|
||||
const wxBitmapBundle& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize, long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
#ifndef _WX_TOGGLEBUTTON_H_
|
||||
#define _WX_TOGGLEBUTTON_H_
|
||||
|
||||
#include "wx/bitmap.h"
|
||||
#include "wx/bmpbndl.h"
|
||||
|
||||
// Checkbox item (single checkbox)
|
||||
class WXDLLIMPEXP_CORE wxToggleButton : public wxToggleButtonBase
|
||||
|
|
@ -77,7 +77,7 @@ public:
|
|||
wxBitmapToggleButton() {}
|
||||
wxBitmapToggleButton(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxBitmap& label,
|
||||
const wxBitmapBundle& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
|
|
@ -90,7 +90,7 @@ public:
|
|||
// Create the control
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxBitmap& label,
|
||||
const wxBitmapBundle& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize, long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ public:
|
|||
wxBitmapToggleButton() {}
|
||||
wxBitmapToggleButton(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxBitmap& label,
|
||||
const wxBitmapBundle& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
|
|
@ -70,7 +70,7 @@ public:
|
|||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxBitmap& label,
|
||||
const wxBitmapBundle& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ public:
|
|||
wxBitmapToggleButton();
|
||||
wxBitmapToggleButton(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxBitmap& label,
|
||||
const wxBitmapBundle& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
|
|
@ -60,7 +60,7 @@ public:
|
|||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxBitmap& label,
|
||||
const wxBitmapBundle& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize, long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ public:
|
|||
Internally calls Create().
|
||||
*/
|
||||
wxBitmapToggleButton(wxWindow* parent, wxWindowID id,
|
||||
const wxBitmap& label,
|
||||
const wxBitmapBundle& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
|
|
@ -150,7 +150,7 @@ public:
|
|||
Create method for two-step construction.
|
||||
*/
|
||||
bool Create(wxWindow* parent, wxWindowID id,
|
||||
const wxBitmap& label,
|
||||
const wxBitmapBundle& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ wxDEFINE_EVENT( wxEVT_TOGGLEBUTTON, wxCommandEvent );
|
|||
wxIMPLEMENT_DYNAMIC_CLASS(wxBitmapToggleButton, wxToggleButton);
|
||||
|
||||
bool wxBitmapToggleButton::Create(wxWindow *parent, wxWindowID id,
|
||||
const wxBitmap &bitmap, const wxPoint &pos,
|
||||
const wxBitmapBundle &bitmap, const wxPoint &pos,
|
||||
const wxSize &size, long style,
|
||||
const wxValidator& validator,
|
||||
const wxString &name)
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ wxDEFINE_EVENT( wxEVT_TOGGLEBUTTON, wxCommandEvent );
|
|||
wxIMPLEMENT_DYNAMIC_CLASS(wxBitmapToggleButton, wxToggleButton);
|
||||
|
||||
bool wxBitmapToggleButton::Create( wxWindow *parent, wxWindowID id,
|
||||
const wxBitmap& label,const wxPoint& pos, const wxSize& size, long style,
|
||||
const wxBitmapBundle& label,const wxPoint& pos, const wxSize& size, long style,
|
||||
const wxValidator& validator, const wxString& name )
|
||||
{
|
||||
if (!wxToggleButton::Create( parent, id, wxEmptyString, pos, size, style, validator, name ))
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ bool wxToggleButton::OSXHandleClicked( double WXUNUSED(timestampsec) )
|
|||
wxIMPLEMENT_DYNAMIC_CLASS(wxBitmapToggleButton, wxToggleButton);
|
||||
|
||||
bool wxBitmapToggleButton::Create(wxWindow *parent, wxWindowID id,
|
||||
const wxBitmap& label,
|
||||
const wxBitmapBundle& label,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size, long style,
|
||||
const wxValidator& validator,
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ wxBitmapToggleButton::wxBitmapToggleButton()
|
|||
|
||||
wxBitmapToggleButton::wxBitmapToggleButton(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxBitmap& label,
|
||||
const wxBitmapBundle& label,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
long style,
|
||||
|
|
@ -42,7 +42,7 @@ wxBitmapToggleButton::wxBitmapToggleButton(wxWindow *parent,
|
|||
|
||||
bool wxBitmapToggleButton::Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxBitmap& label,
|
||||
const wxBitmapBundle& label,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size, long style,
|
||||
const wxValidator& validator,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue