deprecated and removed from our code GetUseCtl3D()/TransparentBackground()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b0cb01589f
commit
35821d8fe0
@ -29,6 +29,8 @@ versions, please update your code to not use them.
|
||||
- wxHashTableLong: use wxHashMap instead
|
||||
- wxArrayString::GetStringArray: no replacement
|
||||
- wxArrayString::Remove(index, count): use RemoveAt instead
|
||||
- [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and
|
||||
SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles
|
||||
|
||||
|
||||
OTHER CHANGES
|
||||
|
@ -413,11 +413,6 @@ WXHBRUSH wxChoice::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSED(
|
||||
)
|
||||
{
|
||||
HDC hdc = (HDC)pDC;
|
||||
if (GetParent()->GetTransparentBackground())
|
||||
SetBkMode(hdc, TRANSPARENT);
|
||||
else
|
||||
SetBkMode(hdc, OPAQUE);
|
||||
|
||||
wxColour colBack = GetBackgroundColour();
|
||||
|
||||
if (!IsEnabled())
|
||||
|
@ -162,11 +162,6 @@ WXHBRUSH wxComboBox::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSE
|
||||
)
|
||||
{
|
||||
HDC hdc = (HDC)pDC;
|
||||
if (GetParent()->GetTransparentBackground())
|
||||
SetBkMode(hdc, TRANSPARENT);
|
||||
else
|
||||
SetBkMode(hdc, OPAQUE);
|
||||
|
||||
wxColour colBack = GetBackgroundColour();
|
||||
|
||||
if (!IsEnabled())
|
||||
|
@ -276,11 +276,6 @@ WXHBRUSH wxControl::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSED
|
||||
#endif // wxUSE_CTL3D
|
||||
|
||||
HDC hdc = (HDC)pDC;
|
||||
if (GetParent()->GetTransparentBackground() /* || (GetParent()->GetExtraStyle() & wxWS_EX_THEMED_BACKGROUND) */ )
|
||||
SetBkMode(hdc, TRANSPARENT);
|
||||
else
|
||||
SetBkMode(hdc, OPAQUE);
|
||||
|
||||
wxColour colBack = GetBackgroundColour();
|
||||
|
||||
::SetBkColor(hdc, wxColourToRGB(colBack));
|
||||
|
@ -821,11 +821,6 @@ WXHBRUSH wxRadioBox::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSE
|
||||
#endif // wxUSE_CTL3D
|
||||
|
||||
HDC hdc = (HDC)pDC;
|
||||
if (GetParent()->GetTransparentBackground())
|
||||
SetBkMode(hdc, TRANSPARENT);
|
||||
else
|
||||
SetBkMode(hdc, OPAQUE);
|
||||
|
||||
wxColour colBack = GetBackgroundColour();
|
||||
|
||||
if (!IsEnabled())
|
||||
|
@ -1483,11 +1483,6 @@ WXHBRUSH wxTextCtrl::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSE
|
||||
#endif // wxUSE_CTL3D
|
||||
|
||||
HDC hdc = (HDC)pDC;
|
||||
if (GetParent()->GetTransparentBackground())
|
||||
SetBkMode(hdc, TRANSPARENT);
|
||||
else
|
||||
SetBkMode(hdc, OPAQUE);
|
||||
|
||||
wxColour colBack = GetBackgroundColour();
|
||||
|
||||
if (!IsEnabled() && (GetWindowStyle() & wxTE_MULTILINE) == 0)
|
||||
|
@ -330,7 +330,6 @@ void wxWindowMSW::Init()
|
||||
// MSW specific
|
||||
m_isBeingDeleted = FALSE;
|
||||
m_oldWndProc = NULL;
|
||||
m_useCtl3D = FALSE;
|
||||
m_mouseInWindow = FALSE;
|
||||
m_lastKeydownProcessed = FALSE;
|
||||
|
||||
@ -343,7 +342,6 @@ void wxWindowMSW::Init()
|
||||
|
||||
m_xThumbSize = 0;
|
||||
m_yThumbSize = 0;
|
||||
m_backgroundTransparent = FALSE;
|
||||
|
||||
// as all windows are created with WS_VISIBLE style...
|
||||
m_isShown = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user