]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/button.cpp
HP-UX support added
[wxWidgets.git] / src / msw / button.cpp
index fce544bd25e3ef67f40f920a1d92f3d75be76053..661ddad461bcee6f7bb5a73dfd37c9493319b678 100644 (file)
@@ -78,7 +78,7 @@ 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 wxUSE_CTL3D
 //  if (!(GetParent()->GetWindowStyleFlag() & wxUSER_COLOURS))
 //    Ctl3dSubclassCtl(wx_button);
 #endif
@@ -96,7 +96,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(&currentX, &currentY);