Put MSW bug fix back in.
This commit is contained in:
parent
909ebe4b78
commit
05d2053ded
|
@ -133,7 +133,8 @@ DIALOG_LABEL_EDITOR::DIALOG_LABEL_EDITOR( SCH_EDIT_FRAME* aParent, SCH_TEXT* aTe
|
|||
for( size_t i = 0; i < wxSTC_STYLE_MAX; ++i )
|
||||
m_valueMultiLine->StyleSetFont( i, fixedFont );
|
||||
|
||||
m_valueMultiLine->StyleClearAll(); // Addresses a bug in wx3.0 where styles are not correctly set
|
||||
// Addresses a bug in wx3.0 where styles are not correctly set
|
||||
m_valueMultiLine->StyleClearAll();
|
||||
|
||||
// DIALOG_SHIM needs a unique hash_key because classname is not sufficient because the
|
||||
// various versions have different controls so we want to store sizes for each version.
|
||||
|
|
|
@ -97,7 +97,8 @@ DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES( PCB_BASE_EDIT_FRAME* aParent, BO
|
|||
for( size_t i = 0; i < wxSTC_STYLE_MAX; ++i )
|
||||
m_MultiLineText->StyleSetFont( i, fixedFont );
|
||||
|
||||
m_MultiLineText->StyleClearAll(); // Addresses a bug in wx3.0 where styles are not correctly set
|
||||
// Addresses a bug in wx3.0 where styles are not correctly set
|
||||
m_MultiLineText->StyleClearAll();
|
||||
|
||||
// This option makes sense only for footprint texts; texts on board are always visible.
|
||||
m_Visible->SetValue( true );
|
||||
|
|
Loading…
Reference in New Issue