added cw6 fixes and patrick's patches

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2000-12-10 10:17:00 +00:00
parent de20db997d
commit d015713e78
11 changed files with 38 additions and 8 deletions

View File

@@ -55,6 +55,9 @@ bool wxStaticText::Create(wxWindow *parent, wxWindowID id,
void wxStaticText::OnDraw( wxDC &dc )
{
if (m_width <= 0 || m_height <= 0)
return;
PrepareDC(dc);
dc.Clear() ;