Menuing and statusbar updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -144,10 +144,6 @@ void wxWindowDC::InitDC()
|
||||
{
|
||||
wxColour vColor;
|
||||
|
||||
vColor.InitFromName("BLACK");
|
||||
m_pen.SetColour(vColor);
|
||||
vColor.Set("WHITE");
|
||||
m_brush.SetColour(vColor);
|
||||
//
|
||||
// The background mode is only used for text background and is set in
|
||||
// DrawText() to OPAQUE as required, otherwise always TRANSPARENT,
|
||||
@@ -158,6 +154,12 @@ void wxWindowDC::InitDC()
|
||||
// Default bg colour is pne of the window
|
||||
//
|
||||
SetBackground(wxBrush(m_pCanvas->GetBackgroundColour(), wxSOLID));
|
||||
|
||||
vColor.InitFromName("BLACK");
|
||||
m_pen.SetColour(vColor);
|
||||
vColor.Set("WHITE");
|
||||
m_brush.SetColour(vColor);
|
||||
InitializePalette();
|
||||
} // end of wxWindowDC::InitDC
|
||||
|
||||
void wxWindowDC::DoGetSize(
|
||||
|
Reference in New Issue
Block a user