m_handleSide = DIVISION_SIDE_NONE;
m_leftSidePen = wxBLACK_PEN;
m_topSidePen = wxBLACK_PEN;
- m_leftSideColour = "BLACK";
- m_topSideColour = "BLACK";
- m_leftSideStyle = "Solid";
- m_topSideStyle = "Solid";
+ m_leftSideColour = wxT("BLACK");
+ m_topSideColour = wxT("BLACK");
+ m_leftSideStyle = wxT("Solid");
+ m_topSideStyle = wxT("Solid");
ClearRegions();
}
class OGLPopupDivisionMenu : public wxMenu {
public:
OGLPopupDivisionMenu() : wxMenu() {
- Append(DIVISION_MENU_SPLIT_HORIZONTALLY, "Split horizontally");
- Append(DIVISION_MENU_SPLIT_VERTICALLY, "Split vertically");
+ Append(DIVISION_MENU_SPLIT_HORIZONTALLY, wxT("Split horizontally"));
+ Append(DIVISION_MENU_SPLIT_VERTICALLY, wxT("Split vertically"));
AppendSeparator();
- Append(DIVISION_MENU_EDIT_LEFT_EDGE, "Edit left edge");
- Append(DIVISION_MENU_EDIT_TOP_EDGE, "Edit top edge");
+ Append(DIVISION_MENU_EDIT_LEFT_EDGE, wxT("Edit left edge"));
+ Append(DIVISION_MENU_EDIT_TOP_EDGE, wxT("Edit top edge"));
}
void OnMenu(wxCommandEvent& event);
void wxDivisionShape::EditEdge(int side)
{
- wxMessageBox("EditEdge() not implemented", "OGL", wxOK);
+ wxMessageBox(wxT("EditEdge() not implemented"), wxT("OGL"), wxOK);
#if 0
wxBeginBusyCursor();