X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d623e8b18ae634911b62fcb088b707dff12f0858..7422d79765db9e7280da187be7a1b016491b8cfd:/include/wx/osx/nonownedwnd.h?ds=sidebyside diff --git a/include/wx/osx/nonownedwnd.h b/include/wx/osx/nonownedwnd.h index 8191fa3fef..60ea912021 100644 --- a/include/wx/osx/nonownedwnd.h +++ b/include/wx/osx/nonownedwnd.h @@ -4,7 +4,7 @@ // Author: Stefan Csomor // Modified by: // Created: 2008-03-24 -// RCS-ID: $Id: nonownedwnd.h 46993 2007-06-28 08:46:04Z VS $ +// RCS-ID: $Id$ // Copyright: (c) 2008 Stefan Csomor // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -30,7 +30,7 @@ class wxNonOwnedWindowImpl; -class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxWindow +class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase { public: // constructors and such @@ -56,9 +56,9 @@ public: const wxString& name = wxPanelNameStr); bool Create(wxWindow *parent, WXWindow nativeWindow); - + virtual ~wxNonOwnedWindow(); - + virtual void SubclassWin(WXWindow nativeWindow); virtual void UnsubclassWin(); @@ -79,7 +79,7 @@ public: // implementation from now on // -------------------------- - virtual bool DoSetShape(const wxRegion& region); + virtual bool SetShape(const wxRegion& region); const wxRegion& GetShape() const { return m_shape; } // activation hooks only necessary for MDI Implementation @@ -109,9 +109,9 @@ public: virtual void HandleResized( double timestampsec ); virtual void HandleMoved( double timestampsec ); virtual void HandleResizing( double timestampsec, wxRect* rect ); - + virtual bool Destroy(); - + protected: // common part of all ctors void Init(); @@ -124,7 +124,7 @@ protected: virtual bool OSXShowWithEffect(bool show, wxShowEffect effect, unsigned timeout); - + virtual void WillBeDestroyed(); wxNonOwnedWindowImpl* m_nowpeer ; @@ -132,7 +132,7 @@ protected: // wxWindowMac* m_macFocus ; static wxNonOwnedWindow *s_macDeactivateWindow; - + private : wxRegion m_shape; };