wxDC::wxDC(void)
{
+ wxColour vColor;
+
m_pCanvas = NULL;
m_hOldBitmap = 0;
m_hOldPS = NULL;
m_hPS = NULL;
m_bIsPaintTime = FALSE; // True at Paint Time
- m_brush.GetColour().Set("WHITE");
+
+ vColor.InitFromName("BLACK");
+ m_pen.SetColour(vColor);
+ vColor.Set("WHITE");
+ m_brush.SetColour(vColor);
} // end of wxDC::wxDC
wxDC::~wxDC(void)
vPoint[0].x = vX + 1;
vPoint[0].y = vY + 1;
vPoint[1].x = vX + vWidth - 2;
- vPoint[1].y = vY + vHeight + 2;
+ vPoint[1].y = vY + vHeight - 2;
::GpiMove(m_hPS, &vPoint[0]);
::GpiBox( m_hPS
,lControl
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,
}
} // end of wxFrame::OnActivate
+void wxFrame::RemoveChild(
+ wxWindowBase* pChild
+)
+{
+ if (pChild == m_pWinLastFocused)
+ m_pWinLastFocused = NULL;
+ wxFrameBase::RemoveChild(pChild);
+} // end of wxFrame::RemoveChild
+
// ----------------------------------------------------------------------------
// wxFrame size management: we exclude the areas taken by menu/status/toolbars
// from the client area, so the client area is what's really available for the
Iconize__7wxFrameFUl
;wxFrame::HandleMenuSelect(unsigned short,unsigned short,unsigned long)
HandleMenuSelect__7wxFrameFUsT1Ul
+ ;wxFrame::RemoveChild(wxWindowBase*)
+ RemoveChild__7wxFrameFP12wxWindowBase
;wxFrame::OS2TranslateMessage(void**)
OS2TranslateMessage__7wxFrameFPPv
;wxFrame::HandlePaint()