]>
git.saurik.com Git - wxWidgets.git/blob - src/msw/panel.cpp
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() )