New drawing test code.

Added distrib file for wxMSW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-07-22 20:20:42 +00:00
parent a324a7bccf
commit 1e7fd31108
3 changed files with 699 additions and 130 deletions

View File

@@ -235,6 +235,7 @@ bool wxPen::RealizeResource()
wxDash *real_dash ;
if (M_PENDATA->m_style==wxUSER_DASH && M_PENDATA->m_nbDash && M_PENDATA->m_dash)
{
wxBell();
real_dash = new wxDash[M_PENDATA->m_nbDash] ;
int i;
for (i=0;i<M_PENDATA->m_nbDash;i++)
@@ -270,7 +271,7 @@ WXHANDLE wxPen::GetResourceHandle()
if ( !M_PENDATA )
return 0;
else
return (WXHANDLE)M_PENDATA->m_hPen;
return (WXHANDLE)M_PENDATA->m_hPen;
}
bool wxPen::FreeResource(bool force)