Fixes
This commit is contained in:
parent
a457dffd8f
commit
b22aba2010
|
@ -123,10 +123,13 @@ bool KIFACE_I::start_common( int aCtlBits )
|
||||||
|
|
||||||
void KIFACE_I::end_common()
|
void KIFACE_I::end_common()
|
||||||
{
|
{
|
||||||
/* Save common preferences; the background still uses the old legacy
|
if( m_bm.m_config )
|
||||||
* color numbers, not the new names */
|
{
|
||||||
m_bm.m_config->Write( showPageLimitsKey, g_ShowPageLimits );
|
// Save common preferences; the background still uses the old legacy
|
||||||
m_bm.m_config->Write( backgroundColorKey, int( g_DrawBgColor ) );
|
// color numbers, not the new names
|
||||||
|
m_bm.m_config->Write( showPageLimitsKey, g_ShowPageLimits );
|
||||||
|
m_bm.m_config->Write( backgroundColorKey, int( g_DrawBgColor ) );
|
||||||
|
}
|
||||||
|
|
||||||
m_bm.End();
|
m_bm.End();
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,9 +108,9 @@ public:
|
||||||
const PAGE_INFO& GetPageSettings () const; // overload EDA_DRAW_FRAME
|
const PAGE_INFO& GetPageSettings () const; // overload EDA_DRAW_FRAME
|
||||||
const wxSize GetPageSizeIU() const; // overload EDA_DRAW_FRAME
|
const wxSize GetPageSizeIU() const; // overload EDA_DRAW_FRAME
|
||||||
|
|
||||||
PL_EDITOR_SCREEN* GetScreen()
|
PL_EDITOR_SCREEN* GetScreen() const // overload EDA_DRAW_FRAME
|
||||||
{
|
{
|
||||||
return (PL_EDITOR_SCREEN*) m_canvas->GetScreen();
|
return (PL_EDITOR_SCREEN*) EDA_DRAW_FRAME::GetScreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
const wxPoint& GetAuxOrigin() const // overload EDA_DRAW_FRAME
|
const wxPoint& GetAuxOrigin() const // overload EDA_DRAW_FRAME
|
||||||
|
|
Loading…
Reference in New Issue