// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
- #pragma implementation "cbcustom.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
cbSimpleCustomizationPlugin* mpBackRef;
public:
- void OnMenuCommand( wxCommandEvent& evt );
-
void OnCommandEvents( wxCommandEvent& evt );
DECLARE_EVENT_TABLE()
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()
#if 0
pMenu->AppendSeparator();
pMenu->Append( id, "Customize...", "Show layout customization dialog", false );
-#endif
+#endif
mCustMenuItemId = id;
cbContextMenuHandler* pHandler = new cbContextMenuHandler();
mpLayout->SetBarState( pBar, newState, true );
if ( newState == wxCBAR_FLOATING )
- mpLayout->RepositionFloatedBar( pBar );
+ mpLayout->RepositionFloatedBar( pBar );
}
// menu-item-selected event is "eaten"
}
-