0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)m_windowId,
wxGetInstance(), NULL);
-#if CTL3D
-// if (!(GetParent()->GetWindowStyleFlag() & wxUSER_COLOURS))
-// Ctl3dSubclassCtl(wx_button);
-#endif
-
m_hWnd = (WXHWND)wx_button;
// Subclass again for purposes of dialog editing mode
return TRUE;
}
-void wxButton::SetSize(int x, int y, int width, int height, int sizeFlags)
+void wxButton::DoSetSize(int x, int y, int width, int height, int sizeFlags)
{
int currentX, currentY;
GetPosition(¤tX, ¤tY);