Changeset 7b9b700 in git for src/guicontrol.cc


Ignore:
Timestamp:
02/03/15 11:46:12 (5 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
b3ee5f5
Parents:
d7ee328
Message:

src/gfxcore.cc,src/guicontrol.cc,src/mainfrm.cc: More tweaks to
compile with a unicode build of wx2.8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/guicontrol.cc

    rd7ee328 r7b9b700  
    12611261            m_View->ToggleHitTestDebug();
    12621262            break;
    1263         case WXK_F4:
     1263        case WXK_F4: {
     1264            const wxChar * msg;
    12641265#if wxDEBUG_LEVEL
    12651266            if (wxTheAssertHandler)
     
    12671268            else
    12681269                wxSetDefaultAssertHandler();
    1269             wxMessageBox(wxTheAssertHandler ? "Assertions enabled" : "Assertions disabled", "Aven Debug", wxOK | wxICON_INFORMATION);
     1270            if (wxTheAssertHandler)
     1271                msg = wxT("Assertions enabled");
     1272            else
     1273                msg = wxT("Assertions disabled");
    12701274#else
    1271             wxMessageBox("wxWidgets was built without assertions", "Aven Debug", wxOK | wxICON_INFORMATION);
     1275            msg = wxT("wxWidgets was built without assertions");
    12721276#endif
    1273             break;
     1277            wxMessageBox(msg, wxT("Aven Debug"), wxOK | wxICON_INFORMATION);
     1278            break;
     1279        }
    12741280        case WXK_F5:
    12751281            m_View->InvalidateAllLists();
Note: See TracChangeset for help on using the changeset viewer.