21#ifndef __ANTARES_TOOLBOX_CREATE_H__
22#define __ANTARES_TOOLBOX_CREATE_H__
26#include <wx/stattext.h>
41template<
class T,
class StringT,
class UserDataT>
42wxButton* CreateButton(wxWindow* parent,
43 const StringT& caption,
45 void (T::*method)(UserDataT) = NULL,
46 UserDataT userdata = NULL);
54wxStaticText* CreateLabel(wxWindow* parent,
const wxString& caption);
64wxStaticText* CreateLabel(wxWindow* parent,
const wxString& caption,
bool bold,
bool grey =
false);
75wxStaticText* CreateLabel(wxWindow* parent,
76 const wxString& caption,
84wxWindow* AddVerticalSeparator(wxWindow* parent, wxSizer* sizer, uint size = 1, uint border = 4);
89wxWindow* AddHorizontalSeparator(wxWindow* parent, wxSizer* sizer,
bool spacing =
true);