X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f11220943f14b4bb5190db0dfd0054304f5015c..9a48c2ba3dc319c2cea520ca9ac54d2081362a39:/src/msw/button.cpp?ds=sidebyside diff --git a/src/msw/button.cpp b/src/msw/button.cpp index 17f82e6e7f..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 wxUSE_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);