+//
+//
+//
+
+#if wxUSE_GUI
+
+class wxNonOwnedWindowCarbonImpl : public wxNonOwnedWindowImpl
+{
+public :
+ wxNonOwnedWindowCarbonImpl( wxNonOwnedWindow* nonownedwnd) ;
+ wxNonOwnedWindowCarbonImpl();
+ virtual ~wxNonOwnedWindowCarbonImpl();
+
+ virtual void Destroy() ;
+ void Create( wxWindow* parent, const wxPoint& pos, const wxSize& size,
+ long style, long extraStyle, const wxString& name ) ;
+
+ WXWindow GetWXWindow() const;
+ void Raise();
+ void Lower();
+ bool Show(bool show);
+ bool ShowWithEffect(bool show, wxShowEffect effect, unsigned timeout);
+
+
+ void Update();
+ bool SetTransparent(wxByte alpha);
+ bool SetBackgroundColour(const wxColour& col );
+ void SetExtraStyle( long exStyle );
+ bool SetBackgroundStyle(wxBackgroundStyle style);
+ bool CanSetTransparent();
+ void MoveWindow(int x, int y, int width, int height);
+ void GetPosition( int &x, int &y ) const;
+ void GetSize( int &width, int &height ) const;
+ void GetContentArea( int &left , int &top , int &width , int &height ) const;
+
+ bool SetShape(const wxRegion& region);
+
+ virtual void SetTitle( const wxString& title, wxFontEncoding encoding ) ;
+
+ virtual bool IsMaximized() const;
+
+ virtual bool IsIconized() const;
+
+ virtual void Iconize( bool iconize );
+
+ virtual void Maximize(bool maximize);
+
+ virtual bool IsFullScreen() const;
+
+ virtual bool ShowFullScreen(bool show, long style);
+
+ virtual void ShowWithoutActivating();
+
+ virtual void RequestUserAttention(int flags);
+
+ virtual void ScreenToWindow( int *x, int *y );
+
+ virtual void WindowToScreen( int *x, int *y );
+ virtual bool IsActive();
+
+
+ bool MacGetUnifiedAppearance() const ;
+ void MacChangeWindowAttributes( wxUint32 attributesToSet , wxUint32 attributesToClear ) ;
+ wxUint32 MacGetWindowAttributes() const ;
+ void MacSetMetalAppearance( bool set ) ;
+ bool MacGetMetalAppearance() const ;
+ void MacSetUnifiedAppearance( bool set );
+
+ WXEVENTHANDLERREF MacGetEventHandler() { return m_macEventHandler ; }
+
+ wxNonOwnedWindow* GetWXPeer() { return m_wxPeer; }
+protected :
+ void MacInstallTopLevelWindowEventHandler();
+
+ WXEVENTHANDLERREF m_macEventHandler ;
+ WindowRef m_macWindow;
+ void * m_macFullScreenData ;
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxNonOwnedWindowCarbonImpl)
+};
+
+#endif // wxUSE_GUI
+