// Reset the device origin since it may have been set
dc.SetDeviceOrigin(0, 0);
- wxPen pen(wxColour(_T("BLACK")), 1, wxSOLID);
+ wxPen pen(*wxBLACK, 1, wxSOLID);
dc.SetPen(pen);
- dc.SetBrush(* wxTRANSPARENT_BRUSH);
+ dc.SetBrush(*wxTRANSPARENT_BRUSH);
wxSize clientSize = GetClientSize();
wxRect itemRect;
wxRect bounding;
GetBoundingRect(id, bounding);
- m_EditCtrl->Move(wxDefaultPosition.x, bounding.y);
+ m_EditCtrl->Move(wxDefaultCoord, bounding.y);
}
PropEditCtrl *m_EditCtrl;
m_tree->SetCompanionWindow(m_valueWindow);
wxConfigBase *cfg = wxConfigBase::Get();
- SetSize(wxRect(wxPoint(cfg->Read(_T("propertiesframe_x"), wxDefaultPosition.x), cfg->Read(_T("propertiesframe_y"), wxDefaultPosition.y)),
+ SetSize(wxRect(wxPoint(cfg->Read(_T("propertiesframe_x"), wxDefaultCoord), cfg->Read(_T("propertiesframe_y"), wxDefaultCoord)),
wxSize(cfg->Read(_T("propertiesframe_w"), 200), cfg->Read(_T("propertiesframe_h"), 200))));