Minor search path updates, initial UI clean up, and more wxDC zoom work.
* Add default OS program install path(s) to search path list as fail safe. * Remove unnecessary wxGetApp calls in WinEDA_App class methods. * Remove non-standard message panel font and changed background to system menu color. * Remove italic fonts from menus. * Remove non-standard font in Kicad app project tree. * Remove font selection dialog menu items from apps for removed fonts. * Remove all global variables and settings associated with the removed fonts. * Fixed PCBNew export and import library file dialog response tests from wxCANCEL to wxID_CANCEL.
This commit is contained in:
@@ -39,7 +39,6 @@ WinEDA_BasicFrame::WinEDA_BasicFrame( wxWindow* father,
|
||||
wxSize minsize;
|
||||
|
||||
m_Ident = idtype;
|
||||
SetFont( *g_StdFont );
|
||||
m_HToolBar = NULL;
|
||||
m_FrameIsActive = TRUE;
|
||||
m_MsgFrameHeight = MSG_PANEL_DEFAULT_HEIGHT;
|
||||
@@ -302,19 +301,6 @@ void WinEDA_BasicFrame::ProcessFontPreferences( int id )
|
||||
case ID_PREFERENCES_FONT:
|
||||
break;
|
||||
|
||||
case ID_PREFERENCES_FONT_STATUS:
|
||||
font = wxGetFontFromUser( this, *g_StdFont );
|
||||
if( font.Ok() )
|
||||
{
|
||||
int pointsize = font.GetPointSize();
|
||||
*g_StdFont = font;
|
||||
SetFont( *g_StdFont );
|
||||
if( GetStatusBar() )
|
||||
GetStatusBar()->SetFont( *g_StdFont );
|
||||
g_StdFontPointSize = pointsize;
|
||||
}
|
||||
break;
|
||||
|
||||
case ID_PREFERENCES_FONT_DIALOG:
|
||||
font = wxGetFontFromUser( this, *g_DialogFont );
|
||||
if( font.Ok() )
|
||||
|
||||
Reference in New Issue
Block a user