]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/shaped/shaped.cpp
Added missing WXDLLIMPEXP_CORE to wxNonOwnedWindowBase declaration.
[wxWidgets.git] / samples / shaped / shaped.cpp
index 4e828a41f887fc91d56da93904921a1ec45e6c80..6e9a0d955c60f22fe617811fb033c0d0fc144957 100644 (file)
@@ -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();