X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/716dc24570f542fd68df9edf5c54e178a7c58bdd..7804d121cbeedd20720b626a8e87e11e8bebe975:/src/generic/choicbkg.cpp 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: