Silenced compiler warnings (unused labels).

This commit is contained in:
Gerald Schmidt 2007-12-17 22:11:41 +00:00
parent 0e4fcf96bd
commit 920fb772a8
1 changed files with 4 additions and 0 deletions

View File

@ -142,10 +142,12 @@ EVT_MENU_RANGE (
ID_COLOR_SCHEME_DEFAULT, ID_COLOR_SCHEME_DEFAULT,
ID_COLOR_SCHEME_NONE, ID_COLOR_SCHEME_NONE,
MyFrame::OnColorScheme ) MyFrame::OnColorScheme )
/*
EVT_MENU_RANGE ( EVT_MENU_RANGE (
ID_SPLIT_TAB_TOP, ID_SPLIT_TAB_TOP,
ID_SPLIT_TAB_LEFT, ID_SPLIT_TAB_LEFT,
MyFrame::OnSplitTab ) MyFrame::OnSplitTab )
*/
EVT_UPDATE_UI_RANGE ( ID_REPLACE, ID_GLOBAL_REPLACE, MyFrame::OnUpdateReplaceRange ) EVT_UPDATE_UI_RANGE ( ID_REPLACE, ID_GLOBAL_REPLACE, MyFrame::OnUpdateReplaceRange )
EVT_FIND ( wxID_ANY, MyFrame::OnDialogFind ) EVT_FIND ( wxID_ANY, MyFrame::OnDialogFind )
EVT_FIND_NEXT ( wxID_ANY, MyFrame::OnDialogFind ) EVT_FIND_NEXT ( wxID_ANY, MyFrame::OnDialogFind )
@ -2264,6 +2266,7 @@ void MyFrame::OnSplitTab ( wxCommandEvent& event )
direction = wxAUI_NB_RIGHT; direction = wxAUI_NB_RIGHT;
switch ( id ) switch ( id )
{ {
/*
ID_SPLIT_TAB_TOP: ID_SPLIT_TAB_TOP:
direction = wxAUI_NB_TOP; direction = wxAUI_NB_TOP;
break; break;
@ -2276,6 +2279,7 @@ void MyFrame::OnSplitTab ( wxCommandEvent& event )
ID_SPLIT_TAB_LEFT: ID_SPLIT_TAB_LEFT:
direction = wxAUI_NB_LEFT; direction = wxAUI_NB_LEFT;
break; break;
*/
default: default:
direction = wxAUI_NB_RIGHT; direction = wxAUI_NB_RIGHT;
break; break;