Menu

[r7]: / Plugin / notebookcustomdlgbase.cpp  Maximize  Restore  History

Download this file

56 lines (40 with data), 2.3 kB

 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
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Mar 19 2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#include "notebookcustomdlgbase.h"
///////////////////////////////////////////////////////////////////////////
NotebookCustomDlgBase::NotebookCustomDlgBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
this->SetSizeHints( wxDefaultSize, wxDefaultSize );
wxBoxSizer* mainSizer;
mainSizer = new wxBoxSizer( wxVERTICAL );
m_checkBoxFixedWidth = new wxCheckBox( this, wxID_ANY, _("Use fixed width tabs"), wxDefaultPosition, wxDefaultSize, 0 );
mainSizer->Add( m_checkBoxFixedWidth, 0, wxALL, 5 );
wxString m_radioBox1Choices[] = { _("Top"), _("Bottom"), _("Left"), _("Right") };
int m_radioBox1NChoices = sizeof( m_radioBox1Choices ) / sizeof( wxString );
m_radioBox1 = new wxRadioBox( this, wxID_ANY, _("Tabs orientation:"), wxDefaultPosition, wxDefaultSize, m_radioBox1NChoices, m_radioBox1Choices, 1, wxRA_SPECIFY_ROWS );
m_radioBox1->SetSelection( 0 );
mainSizer->Add( m_radioBox1, 0, wxALL|wxEXPAND, 5 );
wxBoxSizer* buttonSizer;
buttonSizer = new wxBoxSizer( wxHORIZONTAL );
m_buttonOk = new wxButton( this, wxID_OK, _("&Ok"), wxDefaultPosition, wxDefaultSize, 0 );
m_buttonOk->SetDefault();
buttonSizer->Add( m_buttonOk, 0, wxALL, 5 );
m_buttonCancel = new wxButton( this, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
buttonSizer->Add( m_buttonCancel, 0, wxALL, 5 );
mainSizer->Add( buttonSizer, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
this->SetSizer( mainSizer );
this->Layout();
mainSizer->Fit( this );
this->Centre( wxBOTH );
// Connect Events
m_buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NotebookCustomDlgBase::OnOK ), NULL, this );
}
NotebookCustomDlgBase::~NotebookCustomDlgBase()
{
// Disconnect Events
m_buttonOk->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NotebookCustomDlgBase::OnOK ), NULL, this );
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.