make wxFrame a wxControlContainer too, so that it behaves in the same way as wxDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -190,6 +190,16 @@ public:
|
||||
// should we use the standard control colours or not?
|
||||
virtual bool ShouldInheritColours() const { return false; }
|
||||
|
||||
virtual bool IsClientAreaChild(const wxWindow *child) const
|
||||
{
|
||||
#if wxUSE_SCROLLBAR
|
||||
if ( child == (wxWindow*)m_scrollbarHorz ||
|
||||
child == (wxWindow*)m_scrollbarVert )
|
||||
return false;
|
||||
#endif
|
||||
return wxWindowNative::IsClientAreaChild(child);
|
||||
}
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
|
Reference in New Issue
Block a user