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 monospace = wxGetApp().code_font();
|
||||
#ifdef _WIN32
|
||||
#if 1
|
||||
wxColour text_clr = wxGetApp().get_label_clr_default();
|
||||
#else
|
||||
wxColour text_clr = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT);
|
||||
|
@ -318,7 +318,7 @@ WarningDialog::WarningDialog(wxWindow *parent,
|
|||
finalize();
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
#if 1
|
||||
// MessageDialog
|
||||
|
||||
MessageDialog::MessageDialog(wxWindow* parent,
|
||||
|
|
|
@ -122,7 +122,7 @@ public:
|
|||
virtual ~WarningDialog() = default;
|
||||
};
|
||||
|
||||
#ifdef _WIN32
|
||||
#if 1
|
||||
// Generic static line, used intead of wxStaticLine
|
||||
class StaticLine: public wxTextCtrl
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue