git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44241
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
public:
SettingsPanel(wxWindow* parent, MyFrame* frame)
public:
SettingsPanel(wxWindow* parent, MyFrame* frame)
- : wxPanel(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize)
+ : wxPanel(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize),
+ m_frame(frame)
{
//wxBoxSizer* vert = new wxBoxSizer(wxVERTICAL);
{
//wxBoxSizer* vert = new wxBoxSizer(wxVERTICAL);
SetSizer(cont_sizer);
GetSizer()->SetSizeHints(this);
SetSizer(cont_sizer);
GetSizer()->SetSizeHints(this);
m_border_size->SetValue(frame->GetDockArt()->GetMetric(wxAUI_DOCKART_PANE_BORDER_SIZE));
m_sash_size->SetValue(frame->GetDockArt()->GetMetric(wxAUI_DOCKART_SASH_SIZE));
m_caption_size->SetValue(frame->GetDockArt()->GetMetric(wxAUI_DOCKART_CAPTION_SIZE));
m_border_size->SetValue(frame->GetDockArt()->GetMetric(wxAUI_DOCKART_PANE_BORDER_SIZE));
m_sash_size->SetValue(frame->GetDockArt()->GetMetric(wxAUI_DOCKART_SASH_SIZE));
m_caption_size->SetValue(frame->GetDockArt()->GetMetric(wxAUI_DOCKART_CAPTION_SIZE));