Revert window-locking change which didn't fix preferences crash.
This commit is contained in:
parent
650478f757
commit
3158273c1a
|
@ -108,7 +108,7 @@ void GERBVIEW_FRAME::ReCreateHToolbar( void )
|
||||||
|
|
||||||
void GERBVIEW_FRAME::ReCreateAuxiliaryToolbar()
|
void GERBVIEW_FRAME::ReCreateAuxiliaryToolbar()
|
||||||
{
|
{
|
||||||
//wxWindowUpdateLocker dummy( this );
|
wxWindowUpdateLocker dummy( this );
|
||||||
wxStaticText* text;
|
wxStaticText* text;
|
||||||
|
|
||||||
if( !m_auxiliaryToolBar )
|
if( !m_auxiliaryToolBar )
|
||||||
|
|
|
@ -234,7 +234,7 @@ void PCB_EDIT_FRAME::ReCreateHToolbar()
|
||||||
{
|
{
|
||||||
wxString msg;
|
wxString msg;
|
||||||
|
|
||||||
//wxWindowUpdateLocker dummy( this );
|
wxWindowUpdateLocker dummy( this );
|
||||||
|
|
||||||
if( m_mainToolBar )
|
if( m_mainToolBar )
|
||||||
m_mainToolBar->Clear();
|
m_mainToolBar->Clear();
|
||||||
|
@ -337,7 +337,7 @@ void PCB_EDIT_FRAME::ReCreateHToolbar()
|
||||||
|
|
||||||
void PCB_EDIT_FRAME::ReCreateOptToolbar()
|
void PCB_EDIT_FRAME::ReCreateOptToolbar()
|
||||||
{
|
{
|
||||||
//wxWindowUpdateLocker dummy( this );
|
wxWindowUpdateLocker dummy( this );
|
||||||
|
|
||||||
if( m_optionsToolBar )
|
if( m_optionsToolBar )
|
||||||
m_optionsToolBar->Clear();
|
m_optionsToolBar->Clear();
|
||||||
|
@ -425,7 +425,7 @@ void PCB_EDIT_FRAME::ReCreateOptToolbar()
|
||||||
|
|
||||||
void PCB_EDIT_FRAME::ReCreateVToolbar()
|
void PCB_EDIT_FRAME::ReCreateVToolbar()
|
||||||
{
|
{
|
||||||
//wxWindowUpdateLocker dummy( this );
|
wxWindowUpdateLocker dummy( this );
|
||||||
|
|
||||||
if( m_drawToolBar )
|
if( m_drawToolBar )
|
||||||
m_drawToolBar->Clear();
|
m_drawToolBar->Clear();
|
||||||
|
@ -516,7 +516,7 @@ void PCB_EDIT_FRAME::ReCreateVToolbar()
|
||||||
*/
|
*/
|
||||||
void PCB_EDIT_FRAME::ReCreateMicrowaveVToolbar()
|
void PCB_EDIT_FRAME::ReCreateMicrowaveVToolbar()
|
||||||
{
|
{
|
||||||
//wxWindowUpdateLocker dummy(this);
|
wxWindowUpdateLocker dummy(this);
|
||||||
|
|
||||||
if( m_microWaveToolBar )
|
if( m_microWaveToolBar )
|
||||||
m_microWaveToolBar->Clear();
|
m_microWaveToolBar->Clear();
|
||||||
|
@ -559,7 +559,7 @@ void PCB_EDIT_FRAME::ReCreateMicrowaveVToolbar()
|
||||||
|
|
||||||
void PCB_EDIT_FRAME::ReCreateAuxiliaryToolbar()
|
void PCB_EDIT_FRAME::ReCreateAuxiliaryToolbar()
|
||||||
{
|
{
|
||||||
//wxWindowUpdateLocker dummy( this );
|
wxWindowUpdateLocker dummy( this );
|
||||||
|
|
||||||
if( m_auxiliaryToolBar )
|
if( m_auxiliaryToolBar )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue