From 9df9bc0f09cc0ac8fe54f6ca636b78f5584d53a2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 10 Jun 2014 00:38:42 +0000 Subject: [PATCH] Show the shaped frame with start shape initially in the sample. It's not clear that setting the window shape actually works if the initial shape is not set. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/shaped/shaped.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/shaped/shaped.cpp b/samples/shaped/shaped.cpp index 8609f0cba5..15422b5c99 100644 --- a/samples/shaped/shaped.cpp +++ b/samples/shaped/shaped.cpp @@ -386,7 +386,7 @@ ShapedFrame::ShapedFrame(wxFrame *parent) | wxSTAY_ON_TOP ) { - m_shapeKind = Shape_None; + m_shapeKind = Shape_Star; m_bmp = wxBitmap(wxT("star.png"), wxBITMAP_TYPE_PNG); SetSize(wxSize(m_bmp.GetWidth(), m_bmp.GetHeight())); SetToolTip(wxT("Right-click to close, double click to cycle shape"));