letting the peer declare whether it wants to draw its borders itself (eg the search control has a round border on mac)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-03-08 10:02:25 +00:00
parent 01000cbcd5
commit f2f6030e9c
2 changed files with 50 additions and 48 deletions

View File

@@ -208,6 +208,9 @@ public :
virtual bool NeedsFocusRect() const;
virtual void SetNeedsFocusRect( bool needs );
virtual bool NeedsFrame() const;
virtual void SetNeedsFrame( bool needs );
virtual bool CanFocus() const = 0;
// return true if successful
virtual bool SetFocus() = 0;
@@ -445,6 +448,7 @@ protected :
bool m_isRootControl;
wxWindowMac* m_wxPeer;
bool m_needsFocusRect;
bool m_needsFrame;
DECLARE_ABSTRACT_CLASS(wxWidgetImpl)
};