FIX:fix mac MessageDialog layout
Change-Id: I8946c1beae3bd3c3167cd9b3777b1f5c4fad294c
This commit is contained in:
parent
64038abf5a
commit
57154cda4b
|
@ -227,7 +227,7 @@ static void add_msg_content(wxWindow* parent, wxBoxSizer* content_sizer, wxStrin
|
||||||
|
|
||||||
wxFont font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
|
wxFont font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
|
||||||
wxFont monospace = wxGetApp().code_font();
|
wxFont monospace = wxGetApp().code_font();
|
||||||
#ifdef _WIN32
|
#if 1
|
||||||
wxColour text_clr = wxGetApp().get_label_clr_default();
|
wxColour text_clr = wxGetApp().get_label_clr_default();
|
||||||
#else
|
#else
|
||||||
wxColour text_clr = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT);
|
wxColour text_clr = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT);
|
||||||
|
@ -318,7 +318,7 @@ WarningDialog::WarningDialog(wxWindow *parent,
|
||||||
finalize();
|
finalize();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if 1
|
||||||
// MessageDialog
|
// MessageDialog
|
||||||
|
|
||||||
MessageDialog::MessageDialog(wxWindow* parent,
|
MessageDialog::MessageDialog(wxWindow* parent,
|
||||||
|
|
|
@ -122,7 +122,7 @@ public:
|
||||||
virtual ~WarningDialog() = default;
|
virtual ~WarningDialog() = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if 1
|
||||||
// Generic static line, used intead of wxStaticLine
|
// Generic static line, used intead of wxStaticLine
|
||||||
class StaticLine: public wxTextCtrl
|
class StaticLine: public wxTextCtrl
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue