mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-10 08:56:53 +00:00
7078279ca2
This was SVN commit r3067.
22 lines
419 B
C++
22 lines
419 B
C++
//#include "wx/tglbtn.h"
|
|
|
|
class ITool;
|
|
|
|
class ToolButton : public wxButton
|
|
{
|
|
public:
|
|
static ToolButton* g_Current;
|
|
|
|
ToolButton(wxWindow *parent, const wxString& label, const wxString& toolName, const wxSize& size = wxDefaultSize, long style = 0);
|
|
|
|
protected:
|
|
void OnClick(wxCommandEvent& evt);
|
|
|
|
void SetSelectedAppearance(bool selected);
|
|
|
|
private:
|
|
wxString m_Tool;
|
|
|
|
DECLARE_EVENT_TABLE();
|
|
};
|