12DIALOG_RESCUE_EACH_BASE::DIALOG_RESCUE_EACH_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
14 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
16 wxBoxSizer* bSizerMain;
17 bSizerMain =
new wxBoxSizer( wxVERTICAL );
20 bSizer8 =
new wxBoxSizer( wxVERTICAL );
23 m_htmlPrompt->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
26 bSizer8->Add(
m_htmlPrompt, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 );
28 m_titleSymbols =
new wxStaticText(
this, wxID_ANY,
_(
"Symbols to update:"), wxDefaultPosition, wxDefaultSize, 0 );
33 bSizer8->Add( 0, 2, 0, wxEXPAND, 5 );
35 m_ListOfConflicts =
new wxDataViewListCtrl(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
38 m_titleInstances =
new wxStaticText(
this, wxID_ANY,
_(
"Instances of this symbol:"), wxDefaultPosition, wxDefaultSize, 0 );
43 bSizer8->Add( 0, 2, 0, wxEXPAND, 5 );
45 m_ListOfInstances =
new wxDataViewListCtrl(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
49 bSizerMain->Add( bSizer8, 3, wxEXPAND, 5 );
51 wxBoxSizer* bSizerPreviews;
52 bSizerPreviews =
new wxBoxSizer( wxHORIZONTAL );
54 wxBoxSizer* bSizerLeftPreview;
55 bSizerLeftPreview =
new wxBoxSizer( wxVERTICAL );
57 m_previewOldLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Cached Symbol:"), wxDefaultPosition, wxDefaultSize, 0 );
61 m_previewOldPanel =
new wxPanel(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
73 bSizerPreviews->Add( bSizerLeftPreview, 1, wxEXPAND, 5 );
75 wxBoxSizer* bSizerRightPreview;
76 bSizerRightPreview =
new wxBoxSizer( wxVERTICAL );
78 m_previewNewLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Library Symbol:"), wxDefaultPosition, wxDefaultSize, 0 );
82 m_previewNewPanel =
new wxPanel(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
94 bSizerPreviews->Add( bSizerRightPreview, 1, wxEXPAND, 5 );
97 bSizerMain->Add( bSizerPreviews, 2, wxEXPAND|wxRIGHT|wxLEFT, 10 );
100 bSizer5 =
new wxBoxSizer( wxHORIZONTAL );
102 m_btnNeverShowAgain =
new wxButton(
this, wxID_ANY,
_(
"Never Show Again"), wxDefaultPosition, wxDefaultSize, 0 );
106 bSizer5->Add( 0, 0, 1, wxEXPAND, 5 );
118 bSizerMain->Add( bSizer5, 0, wxEXPAND, 5 );
121 this->SetSizer( bSizerMain );
123 bSizerMain->Fit(
this );
125 this->Centre( wxBOTH );
wxBoxSizer * m_SizerNewPanel
wxStaticText * m_previewOldLabel
HTML_WINDOW * m_htmlPrompt
wxBoxSizer * m_SizerOldPanel
wxButton * m_stdButtonsCancel
virtual void OnDialogResize(wxSizeEvent &event)
wxStaticText * m_titleSymbols
virtual void OnConflictSelect(wxDataViewEvent &event)
wxButton * m_stdButtonsOK
virtual void OnCancelClick(wxCommandEvent &event)
wxPanel * m_previewNewPanel
wxDataViewListCtrl * m_ListOfConflicts
wxStaticText * m_previewNewLabel
wxPanel * m_previewOldPanel
wxButton * m_btnNeverShowAgain
wxDataViewListCtrl * m_ListOfInstances
wxStdDialogButtonSizer * m_stdButtons
~DIALOG_RESCUE_EACH_BASE()
wxStaticText * m_titleInstances
DIALOG_RESCUE_EACH_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Project Rescue Helper"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnNeverShowClick(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Add dark theme support to wxHtmlWindow.