]>
git.saurik.com Git - wxWidgets.git/blob - src/msw/panel.cpp
fc7cfa5bb1dc8a30ff24e72367919272dab9da55
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: src/msw/panel.cpp
3 // Purpose: Implementation of wxMSW-specific wxPanel class.
4 // Author: Vadim Zeitlin
6 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
10 // ============================================================================
12 // ============================================================================
14 // ----------------------------------------------------------------------------
16 // ----------------------------------------------------------------------------
18 // for compilers that support precompilation, includes "wx.h".
19 #include "wx/wxprec.h"
29 // ============================================================================
31 // ============================================================================
33 bool wxPanel::HasTransparentBackground()
35 for ( wxWindow
*win
= GetParent(); win
; win
= win
->GetParent() )
37 if ( win
->MSWHasInheritableBackground() )
40 if ( win
->IsTopLevel() )