mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-07 17:25:33 +00:00
#if platform the border style on panel_job_output
This commit is contained in:
parent
4b9bdc58c5
commit
02d1c12a4b
@ -356,6 +356,15 @@ public:
|
||||
m_buttonProperties->SetBitmap( KiBitmapBundle( BITMAPS::small_edit ) );
|
||||
m_buttonDelete->SetBitmap( KiBitmapBundle( BITMAPS::small_trash ) );
|
||||
|
||||
#if _WIN32
|
||||
// BORDER_RAISED/SUNKEN look pretty on every platform but Windows
|
||||
long style = GetWindowStyleFlag();
|
||||
style &= ~wxBORDER_MASK;
|
||||
style |= wxBORDER_SIMPLE;
|
||||
SetWindowStyleFlag( style );
|
||||
#endif // _WIN32
|
||||
|
||||
|
||||
Connect( wxEVT_MENU, wxCommandEventHandler( PANEL_JOB_OUTPUT::onMenu ), nullptr, this );
|
||||
|
||||
if( jobTypeInfos.contains( aOutput->m_type ) )
|
||||
|
Loading…
Reference in New Issue
Block a user