Changeset 7b9b700 in git for src/gfxcore.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/gfxcore.cc

    rd7ee328 r7b9b700  
    397397                        if (bucket_size) {
    398398                            int y = (GetYSize() + 1) * (HITTEST_SIZE - 1 - j) / HITTEST_SIZE;
    399                             DrawIndicatorText(x, y, wxString::Format("%lu", bucket_size));
     399                            DrawIndicatorText(x, y, wxString::Format(wxT("%lu"), bucket_size));
    400400                        }
    401401                    }
     
    21452145    if (sqrd_measure_threshold == sqrd(MEASURE_THRESHOLD)) {
    21462146        sqrd_measure_threshold = sqrd(5 * MEASURE_THRESHOLD);
    2147         wxMessageBox("Fat finger enabled", "Aven Debug", wxOK | wxICON_INFORMATION);
     2147        wxMessageBox(wxT("Fat finger enabled"), wxT("Aven Debug"), wxOK | wxICON_INFORMATION);
    21482148    } else {
    21492149        sqrd_measure_threshold = sqrd(MEASURE_THRESHOLD);
    2150         wxMessageBox("Fat finger disabled", "Aven Debug", wxOK | wxICON_INFORMATION);
     2150        wxMessageBox(wxT("Fat finger disabled"), wxT("Aven Debug"), wxOK | wxICON_INFORMATION);
    21512151    }
    21522152}
Note: See TracChangeset for help on using the changeset viewer.