0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)m_windowId,
wxGetInstance(), NULL);
0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)m_windowId,
wxGetInstance(), NULL);
-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)
- GetTextExtent(buf, ¤t_width, &cyf,NULL,NULL,& GetFont());
+ GetTextExtent(buf, ¤t_width, &cyf,NULL,NULL,
+ & this->GetFont());
// If we're prepared to use the existing width, then...
if (width == -1 && ((sizeFlags & wxSIZE_AUTO_WIDTH) != wxSIZE_AUTO_WIDTH))
// If we're prepared to use the existing width, then...
if (width == -1 && ((sizeFlags & wxSIZE_AUTO_WIDTH) != wxSIZE_AUTO_WIDTH))
- wxGetCharSize(GetHWND(), &cx, &cy,& GetFont());
+ wxGetCharSize(GetHWND(), &cx, &cy, & this->GetFont());