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:
parent
71c26ec4da
commit
036e35bf28
4 changed files with 26 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue