Finished MingW32 makefiles
More drawing tests and corrections Distrib things git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -638,6 +638,10 @@ void wxDC::DoDrawText(const wxString& text, long x, long y)
|
||||
if (m_textBackgroundColour.Ok())
|
||||
(void)SetBkColor(GetHdc(), old_background);
|
||||
|
||||
// background colour is used only for DrawText, otherwise
|
||||
// always TRANSPARENT, RR
|
||||
SetBkMode(GetHdc(), TRANSPARENT);
|
||||
|
||||
CalcBoundingBox(x, y);
|
||||
|
||||
long w, h;
|
||||
@@ -821,10 +825,15 @@ void wxDC::SetBackgroundMode(int mode)
|
||||
{
|
||||
m_backgroundMode = mode;
|
||||
|
||||
// SetBackgroundColour now only refers to text background
|
||||
// and m_backgroundMode is used there
|
||||
|
||||
/*
|
||||
if (m_backgroundMode == wxTRANSPARENT)
|
||||
::SetBkMode(GetHdc(), TRANSPARENT);
|
||||
else
|
||||
::SetBkMode(GetHdc(), OPAQUE);
|
||||
::SetBkMode(GetHdc(), OPAQUE);
|
||||
*/
|
||||
}
|
||||
|
||||
void wxDC::SetLogicalFunction(int function)
|
||||
|
||||
Reference in New Issue
Block a user