]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/choicbkg.cpp
don't compare iterator after calling erase() in ProcessPendingEvents() (replaces...
[wxWidgets.git] / src / generic / choicbkg.cpp
index c40ba14fe4ab45744dad0b232d2c5b948e881e6d..05b057a16f5c1b5acb555e7b90a6a72b670a8ec4 100644 (file)
@@ -144,7 +144,7 @@ wxRect wxChoicebook::GetPageRect() const
 {
     const wxSize sizeChoice = m_choice->GetSize();
 
-    wxPoint pt(0, 0);
+    wxPoint pt;
     wxRect rectPage(pt, GetClientSize());
     switch ( GetWindowStyle() & wxCHB_ALIGN_MASK )
     {