12DIALOG_DOWNGRADE_REPORT_BASE::DIALOG_DOWNGRADE_REPORT_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( wxDefaultSize, wxDefaultSize );
16 wxBoxSizer* bSizerMain;
17 bSizerMain =
new wxBoxSizer( wxVERTICAL );
19 m_headline =
new wxStaticText(
this, wxID_ANY,
_(
"Exporting will change some features:"), wxDefaultPosition, wxDefaultSize, 0 );
23 m_reportList =
new wxDataViewListCtrl(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_ROW_LINES );
28 m_note =
new wxStaticText(
this, wxID_ANY,
_(
"Your current project is not modified."), wxDefaultPosition, wxDefaultSize, 0 );
30 bSizerMain->Add(
m_note, 0, wxALL, 5 );
32 wxBoxSizer* bSizerButtons;
33 bSizerButtons =
new wxBoxSizer( wxHORIZONTAL );
35 m_buttonSaveReport =
new wxButton(
this, wxID_ANY,
_(
"Save Report..."), wxDefaultPosition, wxDefaultSize, 0 );
41 bSizerButtons->Add( 0, 0, 1, wxEXPAND, 0 );
50 bSizerButtons->Add(
m_sdbSizer, 0, wxALIGN_CENTER_VERTICAL, 0 );
53 bSizerMain->Add( bSizerButtons, 0, wxALL|wxEXPAND, 5 );
56 this->SetSizer( bSizerMain );
59 this->Centre( wxBOTH );
DIALOG_DOWNGRADE_REPORT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Compatibility Report"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 386), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)