X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/41f02b9acc01217e918fa422298840df7cf6de25..e1efca652844273c3e8d32c7e5f442b87e455ca7:/samples/shaped/shaped.cpp diff --git a/samples/shaped/shaped.cpp b/samples/shaped/shaped.cpp index 4e828a41f8..6e9a0d955c 100644 --- a/samples/shaped/shaped.cpp +++ b/samples/shaped/shaped.cpp @@ -181,6 +181,7 @@ private: { static const char *names[] = { + "none", "roll to left", "roll to right", "roll to top", @@ -346,7 +347,7 @@ void MainFrame::OnShowEffect(wxCommandEvent& event) return; } - new EffectFrame(this, eff,1000); + new EffectFrame(this, eff, 1000); } // ---------------------------------------------------------------------------- @@ -375,7 +376,7 @@ ShapedFrame::ShapedFrame(wxFrame *parent) ) { m_hasShape = false; - m_bmp = wxBitmap(_T("star.png"), wxBITMAP_TYPE_PNG); + m_bmp = wxBitmap(wxT("star.png"), wxBITMAP_TYPE_PNG); SetSize(wxSize(m_bmp.GetWidth(), m_bmp.GetHeight())); SetToolTip(wxT("Right-click to close")); SetWindowShape();