X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..a685dd314cc5daeb1492a4a57f475df91d6cd126:/contrib/src/fl/cbcustom.cpp diff --git a/contrib/src/fl/cbcustom.cpp b/contrib/src/fl/cbcustom.cpp index 2c353400dc..42dd52651d 100644 --- a/contrib/src/fl/cbcustom.cpp +++ b/contrib/src/fl/cbcustom.cpp @@ -30,8 +30,6 @@ public: cbSimpleCustomizationPlugin* mpBackRef; public: - void OnMenuCommand( wxCommandEvent& evt ); - void OnCommandEvents( wxCommandEvent& evt ); DECLARE_EVENT_TABLE() @@ -45,12 +43,12 @@ public: BEGIN_EVENT_TABLE( cbContextMenuHandler, wxEvtHandler ) - // FIXME:: what is the right range for these ids ? so that they + // FIXME:: what is the right range for these ids ? so that they // would not collide with user commands? EVT_COMMAND_RANGE( CB_CUSTOMIZE_MENU_FIRST_ITEM_ID, - CB_CUSTOMIZE_MENU_FIRST_ITEM_ID + 300, - wxEVT_COMMAND_MENU_SELECTED, + CB_CUSTOMIZE_MENU_FIRST_ITEM_ID + 300, + wxEVT_COMMAND_MENU_SELECTED, cbContextMenuHandler::OnCommandEvents ) END_EVENT_TABLE() @@ -121,7 +119,7 @@ void cbSimpleCustomizationPlugin::OnCustomizeLayout( cbCustomizeLayoutEvent& eve #if 0 pMenu->AppendSeparator(); pMenu->Append( id, "Customize...", "Show layout customization dialog", false ); -#endif +#endif mCustMenuItemId = id; cbContextMenuHandler* pHandler = new cbContextMenuHandler(); @@ -190,9 +188,8 @@ void cbSimpleCustomizationPlugin::OnMenuItemSelected( wxCommandEvent& event ) mpLayout->SetBarState( pBar, newState, true ); if ( newState == wxCBAR_FLOATING ) - mpLayout->RepositionFloatedBar( pBar ); + mpLayout->RepositionFloatedBar( pBar ); } // menu-item-selected event is "eaten" } -