]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/cbcustom.cpp
Source cleaning, wxW headers, whitespaces and improved PCH support.
[wxWidgets.git] / contrib / src / fl / cbcustom.cpp
index a8e8c5f441b7d3001fe4776febb6d8f690b26637..42dd52651d356eb217b0cb01aede032ae246158e 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-    #pragma implementation "cbcustom.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -34,8 +30,6 @@ public:
     cbSimpleCustomizationPlugin* mpBackRef;
 
 public:
-    void OnMenuCommand( wxCommandEvent& evt );
-
     void OnCommandEvents( wxCommandEvent& evt );
 
     DECLARE_EVENT_TABLE()
@@ -49,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()
@@ -125,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();
@@ -194,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"
 }
-