]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/choicbkg.cpp
Get rid of the class naming conflict with the base header for Print and supress some...
[wxWidgets.git] / src / generic / choicbkg.cpp
index 9c3062d7421fa13535326004ee212cbe66562810..15390adec2d934564303f01f12244ac58f8c3a46 100644 (file)
@@ -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: