X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/716dc24570f542fd68df9edf5c54e178a7c58bdd..67c20e133ebe01b5b4bc2468661a8bcc4097c5a2:/src/generic/choicbkg.cpp?ds=sidebyside diff --git a/src/generic/choicbkg.cpp b/src/generic/choicbkg.cpp index 9c3062d742..15390adec2 100644 --- a/src/generic/choicbkg.cpp +++ b/src/generic/choicbkg.cpp @@ -144,7 +144,8 @@ wxRect wxChoicebook::GetPageRect() const { const wxSize sizeChoice = m_choice->GetSize(); - wxRect rectPage(wxPoint(0, 0), GetClientSize()); + wxPoint pt(0, 0); + wxRect rectPage(pt, GetClientSize()); switch ( GetWindowStyle() & wxCHB_ALIGN_MASK ) { default: