]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/cbcustom.cpp
Better temporary fix.
[wxWidgets.git] / contrib / src / fl / cbcustom.cpp
index 2c353400dc347ada3e06ac9b0e531518c9e194d8..42dd52651d356eb217b0cb01aede032ae246158e 100644 (file)
@@ -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"
 }
-