X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bb5a951418acd22d69a7f1973319f47190fbac79..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/samples/regtest/regtest.cpp diff --git a/samples/regtest/regtest.cpp b/samples/regtest/regtest.cpp index a1147cad06..711d0241f1 100644 --- a/samples/regtest/regtest.cpp +++ b/samples/regtest/regtest.cpp @@ -367,7 +367,7 @@ RegFrame::RegFrame(wxFrame *parent, const wxChar *title, int x, int y, int w, in : wxFrame(parent, wxID_ANY, title, wxPoint(x, y), wxSize(w, h)) { // this reduces flicker effects - SetBackgroundColour(wxColour(255, 255, 255)); + SetBackgroundColour(*wxWHITE); // set the icon // ------------ @@ -1193,7 +1193,7 @@ const wxChar *RegTreeCtrl::TreeNode::FullName() const s_strName = Parent()->FullName(); s_strName << wxT('\\') << m_strName; - return s_strName; + return s_strName.t_str(); } }