WindowRef m_macWindow ;
ControlHandle m_macRootControl ;
wxWindow* m_macFocus ;
+ bool m_macHasReceivedFirstActivate ;
} MacWindowData ;
// event handlers
// --------------
+ void OnSetFocus(wxFocusEvent& event) ;
void OnEraseBackground(wxEraseEvent& event);
void OnIdle(wxIdleEvent& event);
void MacOnScroll(wxScrollEvent&event ) ;
WindowRef GetMacRootWindow() const ;
virtual ControlHandle MacGetContainerForEmbedding() ;
- virtual long MacGetBorderSize() const ;
+
+ virtual long MacGetLeftBorderSize() const ;
+ virtual long MacGetRightBorderSize() const ;
+ virtual long MacGetTopBorderSize() const ;
+ virtual long MacGetBottomBorderSize() const ;
+
static long MacRemoveBordersFromStyle( long style ) ;
virtual void MacSuperChangedPosition() ;
virtual void MacSuperShown( bool show ) ;
+ bool MacIsReallyShown() const ;
/*
bool MacSetupFocusPort() ;
bool MacSetupDrawingPort() ;
private:
virtual bool MacGetWindowFromPointSub( const wxPoint &point , wxWindow** outWin ) ;
protected:
-
MacWindowData* m_macWindowData ;
static WindowRef s_macWindowInUpdate ;
RgnHandle m_macUpdateRgn ;
+ bool m_macEraseOnRedraw ;
int m_x ;
int m_y ;
// common part of all ctors
void Init();
- DECLARE_NO_COPY_CLASS(wxWindow);
+ DECLARE_NO_COPY_CLASS(wxWindow)
DECLARE_EVENT_TABLE()
};