]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/radiobox.cpp
Simplified and extended compiler detection for OS/2.
[wxWidgets.git] / src / univ / radiobox.cpp
index 6637727315c0d2b3cd23dd45470078dfe404533c..9fadd8eb266c44ebdcf72dd0a2c1f31b01a3c3c7 100644 (file)
@@ -445,7 +445,7 @@ void wxRadioBox::DoMoveWindow(int x0, int y0, int width, int height)
 
     wxSize sizeBtn = GetMaxButtonSize();
     wxPoint ptOrigin = GetBoxAreaOrigin();
-    wxPoint clientOrigin = GetParent() ? GetParent()->GetClientAreaOrigin() : wxPoint(0,0);
+    wxPoint clientOrigin = GetParent() ? GetParent()->GetClientAreaOrigin() : wxPoint();
 
     x0 += ptOrigin.x + BOX_BORDER_X - clientOrigin.x;
     y0 += ptOrigin.y + BOX_BORDER_Y - clientOrigin.y;