]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/nonownedwnd.h
synchronize GTK2 minimum version in docs
[wxWidgets.git] / include / wx / msw / nonownedwnd.h
index 3eddd78ff9839f61e88c029d6bc0bf94635697db..260c81ceb312cad0594b0dc1deae811fd9c027aa 100644 (file)
@@ -11,6 +11,8 @@
 #ifndef _WX_MSW_NONOWNEDWND_H_
 #define _WX_MSW_NONOWNEDWND_H_
 
+class wxNonOwnedWindowShapeImpl;
+
 // ----------------------------------------------------------------------------
 // wxNonOwnedWindow
 // ----------------------------------------------------------------------------
 class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase
 {
 public:
-    virtual bool SetShape(const wxRegion& region);
+    wxNonOwnedWindow();
+    virtual ~wxNonOwnedWindow();
+
+protected:
+    virtual bool DoClearShape();
+    virtual bool DoSetRegionShape(const wxRegion& region);
+#if wxUSE_GRAPHICS_CONTEXT
+    virtual bool DoSetPathShape(const wxGraphicsPath& path);
+
+private:
+    wxNonOwnedWindowShapeImpl* m_shapeImpl;
+#endif // wxUSE_GRAPHICS_CONTEXT
+
+    wxDECLARE_NO_COPY_CLASS(wxNonOwnedWindow);
 };
 
 #endif // _WX_MSW_NONOWNEDWND_H_