class WXDLLIMPEXP_FWD_CORE wxButton;
class WXDLLIMPEXP_FWD_CORE wxScrollBar;
-class WXDLLIMPEXP_FWD_CORE wxTopLevelWindowMac;
+class WXDLLIMPEXP_FWD_CORE wxNonOwnedWindow;
-class wxMacControl ;
+class WXDLLIMPEXP_FWD_CORE wxMacControl ;
-class WXDLLEXPORT wxWindowMac: public wxWindowBase
+class WXDLLIMPEXP_CORE wxWindowMac: public wxWindowBase
{
DECLARE_DYNAMIC_CLASS(wxWindowMac)
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();
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 );
void MacInvalidateBorders() ;
WXWindow MacGetTopLevelWindowRef() const ;
- wxTopLevelWindowMac* MacGetTopLevelWindow() const ;
+ wxNonOwnedWindow* MacGetTopLevelWindow() const ;
virtual long MacGetLeftBorderSize() const ;
virtual long MacGetRightBorderSize() const ;
virtual void MacHiliteChanged() ;
virtual wxInt32 MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF event ) ;
- bool MacIsReallyShown() ;
bool MacIsReallyEnabled() ;
bool MacIsReallyHilited() ;
// 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 ;