// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#include "wx/dcclient.h"
#include "wx/window.h"
#include "wx/os2/private.h"
int nX= rPos.x;
int nY = rPos.y;
- int nWidth = rSize.x;
- int nHeight = rSize.y;
char zId[16];
m_windowStyle = lStyle;
int nWinstyle = SS_ICON;
m_hWnd = (WXHWND)::WinCreateWindow( pParent->GetHWND()
- ,wxCanvasClassName
+ ,(PSZ)wxCanvasClassName
,zId
,nWinstyle | WS_VISIBLE
,0,0,0,0
)
{
wxPaintDC vDc(this);
- int i;
wxBitmap* pBitmap;
if (m_pImage->IsKindOf(CLASSINFO(wxIcon)))