X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce3ed50dbe32d118321082db84c3a9abb047d5b7..20e85460c40ebc4dcc9577928771adb264cc998f:/src/msw/button.cpp diff --git a/src/msw/button.cpp b/src/msw/button.cpp index fce544bd25..764c28db6f 100644 --- a/src/msw/button.cpp +++ b/src/msw/button.cpp @@ -78,11 +78,6 @@ bool wxButton::Create(wxWindow *parent, wxWindowID id, const wxString& label, 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 @@ -96,7 +91,7 @@ bool wxButton::Create(wxWindow *parent, wxWindowID id, const wxString& label, 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);