Remove (most) occurrences of wxT() macro from the samples
Also replace wxChar* with wxString. Closes https://github.com/wxWidgets/wxWidgets/pull/945
This commit is contained in:
committed by
Vadim Zeitlin
parent
e768046774
commit
f58ea62596
@@ -387,9 +387,9 @@ ShapedFrame::ShapedFrame(wxFrame *parent)
|
||||
)
|
||||
{
|
||||
m_shapeKind = Shape_Star;
|
||||
m_bmp = wxBitmap(wxT("star.png"), wxBITMAP_TYPE_PNG);
|
||||
m_bmp = wxBitmap("star.png", wxBITMAP_TYPE_PNG);
|
||||
SetSize(wxSize(m_bmp.GetWidth(), m_bmp.GetHeight()));
|
||||
SetToolTip(wxT("Right-click to close, double click to cycle shape"));
|
||||
SetToolTip("Right-click to close, double click to cycle shape");
|
||||
SetWindowShape();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user