]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/window.h
addind nonowned window implementation
[wxWidgets.git] / include / wx / mac / carbon / window.h
index 43fe62748fe860f50eefc84d140500343f7907a0..d2f9a85ca1684564371b761de32649427cfb75a8 100644 (file)
@@ -19,7 +19,7 @@ class WXDLLIMPEXP_FWD_CORE wxButton;
 class WXDLLIMPEXP_FWD_CORE wxScrollBar;
 class WXDLLIMPEXP_FWD_CORE wxTopLevelWindowMac;
 
-class wxMacControl ;
+class WXDLLIMPEXP_FWD_CORE wxMacControl ;
 
 class WXDLLEXPORT wxWindowMac: public wxWindowBase
 {
@@ -56,15 +56,14 @@ public:
 
     virtual bool Show( bool show = true );
 
+    virtual bool IsShownOnScreen() const;
+
     virtual void SetFocus();
 
     virtual void WarpPointer( int x, int y );
 
     virtual void Refresh( bool eraseBackground = true,
                           const wxRect *rect = NULL );
-    virtual void Freeze();
-    virtual void Thaw();
-    virtual bool IsFrozen() const;
 
     virtual void Update() ;
     virtual void ClearBackground();
@@ -86,6 +85,9 @@ protected:
     virtual void DoEnable( bool enable );
     virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
 
+    virtual void DoFreeze();
+    virtual void DoThaw();
+
 public:
     virtual void SetScrollbar( int orient, int pos, int thumbVisible,
                                int range, bool refresh = true );
@@ -136,7 +138,6 @@ public:
 
     // event handlers
     // --------------
-    void OnSetFocus( wxFocusEvent& event );
     void OnPaint( wxPaintEvent& event );
     void OnNcPaint( wxNcPaintEvent& event );
     void OnEraseBackground(wxEraseEvent& event );
@@ -194,7 +195,6 @@ public:
     virtual void        MacHiliteChanged() ;
     virtual wxInt32     MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF event ) ;
 
-    bool                MacIsReallyShown() ;
     bool                MacIsReallyEnabled() ;
     bool                MacIsReallyHilited() ;
 
@@ -263,9 +263,6 @@ protected:
     // For controls like radio buttons which are genuinely composite
     wxList              m_subControls;
 
-    // number of calls to Freeze() minus number of calls to Thaw()
-    unsigned int        m_frozenness;
-
     // the peer object, allowing for cleaner API support
     wxMacControl *       m_peer ;