#include "wx/event.h"
#include "wx/app.h"
#include "wx/brush.h"
+#include "wx/scrolwin.h"
#endif
#include "wx/stattext.h"
);
SubclassWin(m_hWnd);
- wxControl::SetFont(pParent->GetFont());
+ wxFont* pTextFont = new wxFont( 10
+ ,wxMODERN
+ ,wxNORMAL
+ ,wxNORMAL
+ );
+ wxControl::SetFont(*pTextFont);
SetSize( nX
,nY
,nWidth
,nHeight
);
+ delete pTextFont;
return TRUE;
} // end of wxStaticText::Create
,lParam
);
} // end of wxStaticText::OS2WindowProc
-
-