virtual void Lower();
virtual bool Show( bool show = true );
+ virtual bool ShowWithEffect(wxShowEffect effect,
+ unsigned timeout = 0)
+ {
+ return OSXShowWithEffect(true, effect, timeout);
+ }
+ virtual bool HideWithEffect(wxShowEffect effect,
+ unsigned timeout = 0)
+ {
+ return OSXShowWithEffect(false, effect, timeout);
+ }
virtual bool IsShownOnScreen() const;
virtual bool SetBackgroundColour( const wxColour &colour );
virtual bool SetForegroundColour( const wxColour &colour );
+ virtual bool SetBackgroundStyle(wxBackgroundStyle style);
+
virtual int GetCharHeight() const;
virtual int GetCharWidth() const;
{ return ((wxWindow*)m_hScrollBar == sb || (wxWindow*)m_vScrollBar == sb) ; }
virtual bool IsClientAreaChild(const wxWindow *child) const
{
- return !MacIsWindowScrollbar(child) &&
+ return !MacIsWindowScrollbar(child) && !((wxWindow*)m_growBox==child) &&
wxWindowBase::IsClientAreaChild(child);
}
virtual bool OSXHandleClicked( double timestampsec );
virtual bool OSXHandleKeyEvent( wxKeyEvent& event );
+
+ bool IsNativeWindowWrapper() const { return m_isNativeWindowWrapper; }
protected:
// For controls like radio buttons which are genuinely composite
wxList m_subControls;
wxScrollBar* m_vScrollBar ;
bool m_hScrollBarAlwaysShown;
bool m_vScrollBarAlwaysShown;
- wxPanel* m_growBox ;
+ wxWindow* m_growBox ;
wxString m_label ;
+
+ bool m_isNativeWindowWrapper;
// set to true if we do a sharp clip at the content area of this window
// must be dynamic as eg a panel normally is not clipping precisely, but if
virtual void DoSetToolTip( wxToolTip *tip );
#endif
+ // common part of Show/HideWithEffect()
+ virtual bool OSXShowWithEffect(bool show,
+ wxShowEffect effect,
+ unsigned timeout);
+
private:
// common part of all ctors
void Init();
// AlwaysShowScrollbars()
void DoUpdateScrollbarVisibility();
-
wxDECLARE_NO_COPY_CLASS(wxWindowMac);
DECLARE_EVENT_TABLE()
};