Rename wxFileHistoryMenuLabelStyle to wxFileHistoryMenuPathStyle
It seems useful to have the word "Path" in the name of this enum to indicate that it applies to the paths shown in the menu labels. Also rename the methods using this enum.
This commit is contained in:
@@ -1394,13 +1394,13 @@ void MyFrame::OnFileHistoryStyleItem(wxCommandEvent& event)
|
||||
switch( event.GetId() )
|
||||
{
|
||||
case Menu_Menu_FileHistory1:
|
||||
m_fileHistory->SetMenuLabelStyle(wxFH_HIDE_CURRENT_PATH);
|
||||
m_fileHistory->SetMenuPathStyle(wxFH_HIDE_CURRENT_PATH);
|
||||
break;
|
||||
case Menu_Menu_FileHistory2:
|
||||
m_fileHistory->SetMenuLabelStyle(wxFH_HIDE_ALL_PATHS);
|
||||
m_fileHistory->SetMenuPathStyle(wxFH_HIDE_ALL_PATHS);
|
||||
break;
|
||||
case Menu_Menu_FileHistory3:
|
||||
m_fileHistory->SetMenuLabelStyle(wxFH_SHOW_FULL_PATH);
|
||||
m_fileHistory->SetMenuPathStyle(wxFH_SHOW_FULL_PATH);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user