void cbSimpleCustomizationPlugin::OnCustomizeLayout( cbCustomizeLayoutEvent& event )
{
- wxString helpStr1 = "Select this item to show the corresponding control bar";
- wxString helpStr2 = "Select this itme to hide the corresponding control bar";
+ wxString helpStr1 = wxT("Select this item to show the corresponding control bar");
+ wxString helpStr2 = wxT("Select this itme to hide the corresponding control bar");
int id = CB_CUSTOMIZE_MENU_FIRST_ITEM_ID;
{
if ( event.GetId() == mCustMenuItemId )
{
- wxMessageBox("Customization dialog box is not supported by this plugin yet");
+ wxMessageBox(wxT("Customization dialog box is not supported by this plugin yet"));
return;
}
// "inverse" bar-visibility of the selected bar
- int newState = 0;
+ int newState;
if ( pBar->mState == wxCBAR_HIDDEN )
{